packages/net/ulogd/patches/ulogd-1.23-pcap_ldflags.patch
florian c02b118aa5 Port ulogd to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-26 08:49:48 +00:00

13 lines
436 B
Diff

diff -urN ulogd-1.23/pcap/Makefile.in ulogd-1.23.new/pcap/Makefile.in
--- ulogd-1.23/pcap/Makefile.in 2004-03-23 23:36:04.000000000 +0100
+++ ulogd-1.23.new/pcap/Makefile.in 2006-04-19 11:30:45.000000000 +0200
@@ -14,7 +14,7 @@
distrib:
$(SHARED_LIBS): %.so: %_sh.o
- $(LD) -shared -o $@ $< -lc -lpcap
+ $(LD) -shared -o $@ $< -lc -lpcap -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
%_sh.o: %.c
$(CC) $(SH_CFLAGS) -o $@ -c $<