fixed testbench compilation problem on Solaris

Solaris network libraries needed to be specified
in linker options
This commit is contained in:
Rainer Gerhards 2009-04-09 14:45:23 +02:00
parent e07b3f380f
commit d2d8cc9c1b
2 changed files with 4 additions and 1 deletions

View File

@ -33,9 +33,11 @@ EXTRA_DIST= 1.rstest 2.rstest 3.rstest err1.rstest \
cfg.sh
ourtail_SOURCES = ourtail.c
tcpflood_SOURCES = tcpflood.c
chkseq_SOURCES = chkseq.c
tcpflood_SOURCES = tcpflood.c
tcpflood_LDADD = $(SOL_LIBS)
nettester_SOURCES = nettester.c getline.c
nettester_LDADD = $(SOL_LIBS)

View File

@ -1,5 +1,6 @@
rm -f rsyslog.out.log # work file
../tools/rsyslogd -c4 -u2 -n -irsyslog.pid -M../runtime/.libs:../.libs -f$srcdir/testsuites/manytcp.conf &
sleep 1
echo "rsyslogd started with pid " `cat rsyslog.pid`
./tcpflood 127.0.0.1 13514 1000 20000
sleep 1