diff src/Makefile.am @ 46:4eaee1fcffa7 stable-1-10

more fixes for Solaris
author Carl Byington <carl@five-ten-sg.com>
date Sat, 22 Mar 2008 11:32:28 -0700
parents 9e9f09cf411c
children d237bc6331ad
line wrap: on
line diff
--- a/src/Makefile.am	Sat Mar 22 11:01:54 2008 -0700
+++ b/src/Makefile.am	Sat Mar 22 11:32:28 2008 -0700
@@ -7,8 +7,9 @@
 INCLUDES= $(all_includes)
 
 # the library search path.
-syslog2iptables_LDFLAGS = $(all_libraries) -pthread
+syslog2iptables_LDFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
+syslog2iptables_LDADD   = $(all_libraries)
 
 # default compile flags
-syslog2iptables_CXXFLAGS = -pthread
+syslog2iptables_CXXFLAGS = $(PTHREAD_CFLAGS)