commit | 97b52f9f3f50d36ebb6cc89edfbe829ce9ebc663 | [log] [tgz] |
---|---|---|
author | Guy Harris <gharris@steve.local> | Sun Jun 07 18:19:59 2009 -0700 |
committer | Guy Harris <gharris@steve.local> | Sun Jun 07 18:19:59 2009 -0700 |
tree | ea9e2cdb0eb70846ab77e16e1f7adedd45e7cb67 | |
parent | 4b8ca1e7c2633fb4875a23d8f05ec83bbe42dae9 [diff] |
Don't put -L/usr/lib into LDFLAGS - it would cause linking with -lpcap, on a system that comes with libpcap, to link with the system libpcap even if, say, you've installed a newer libpcap under /usr/local and its pcap-config added -L/usr/local/lib to LDFLAGS, as the -L/usr/lib comes earlier in LDFLAGS. (For "would", read "did, when I tried it".)