comparison test.bash @ 37:ccf2c2651c1d

add -pthread compiler option, fix error in scanning for end of html comment
author carl
date Sun, 30 May 2004 23:57:13 -0700
parents 2ae8d953f1d0
children acbe44bbba22
comparison
equal deleted inserted replaced
36:95607fbef608 37:ccf2c2651c1d
16 16
17 17
18 ########################### 18 ###########################
19 # compile the milter 19 # compile the milter
20 # 20 #
21 g++ -c dnsbl.cpp 21 g++ -c -pthread dnsbl.cpp
22 if [ $? -ne 0 ]; then 22 if [ $? -ne 0 ]; then
23 echo "compiler errors" 23 echo "compiler errors"
24 exit 24 exit
25 fi 25 fi
26 g++ -o dnsbl dnsbl.o /usr/lib/libresolv.a -lmilter -pthread 26 g++ -o dnsbl dnsbl.o /usr/lib/libresolv.a -lmilter -pthread