Wireshark-dev: [Wireshark-dev] Makefile nits

Date: Sat, 5 May 2007 00:06:22 -0400
I just got the newest svn wireshark...

If you specify a directory for libpcap, it probably is a good idea to add that 
to the dynlinker path, so you find it at runtime...

This is editing the makefile after configure:

===================================================================
RCS file: Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile    2007/05/05 02:52:27     1.1
+++ Makefile    2007/05/05 02:53:14
@@ -366,7 +366,7 @@
 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
 KRB5_CONFIG =
 KRB5_LIBS =
-LDFLAGS =  -L/usr/local/lib -L/usr/local/libpcap/lib -L/usr/local/lib
+LDFLAGS 
=  -L/usr/local/lib -L/usr/local/libpcap/lib  -Wl,-rpath,/usr/local/libpcap/lib
 LDFLAGS_SHAREDLIB =
 LEX = /usr/bin/flex
 LEXLIB = -lfl