diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-05 03:01:21 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-05 03:01:21 -0700 |
commit | c8bfe21a919656319afebe151162336ec531183c (patch) | |
tree | a517562bbacfa1d50d77b3209b266790c9b690b8 /rpcapd/Makefile.in | |
parent | 062c19546d2c26ddce4799c3a7f72a05ab886a4f (diff) | |
download | libpcap-c8bfe21a919656319afebe151162336ec531183c.tar.gz |
Add a macro to check for pthreads, and use it where necessary.
We may need pthreads for the DAG library and we may need it for rpcapd.
Diffstat (limited to 'rpcapd/Makefile.in')
-rw-r--r-- | rpcapd/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpcapd/Makefile.in b/rpcapd/Makefile.in index 237b4913..bf9c77f8 100644 --- a/rpcapd/Makefile.in +++ b/rpcapd/Makefile.in @@ -62,6 +62,7 @@ DYEXT = @DYEXT@ V_RPATH_OPT = @V_RPATH_OPT@ DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@ PROG=libpcap +RPCAPD_LIBS = @RPCAPD_LIBS@ # Standard CFLAGS FULL_CFLAGS = $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS) @@ -101,7 +102,7 @@ EXTRA_DIST = \ Makefile-devel-adds rpcapd: $(OBJ) ../libpcap.a - $(CC) $(LDFLAGS) -o $@ $(OBJ) ../libpcap.a $(LIBS) + $(CC) $(LDFLAGS) -o $@ $(OBJ) ../libpcap.a $(LIBS) $(RPCAPD_LIBS) clean: rm -f $(CLEANFILES) |