Enable mod-ulogd-pcap build
[openwrt.git] / openwrt / package / ulogd / patches / ulogd-1.23-pcap_ldflags.patch
1 diff -urN ulogd-1.23/pcap/Makefile.in ulogd-1.23.new/pcap/Makefile.in
2 --- ulogd-1.23/pcap/Makefile.in 2004-03-23 23:36:04.000000000 +0100
3 +++ ulogd-1.23.new/pcap/Makefile.in     2006-04-19 11:30:45.000000000 +0200
4 @@ -14,7 +14,7 @@
5  distrib:
6  
7  $(SHARED_LIBS): %.so: %_sh.o
8 -       $(LD) -shared -o $@ $< -lc -lpcap
9 +       $(LD) -shared -o $@ $< -lc -lpcap -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
10  
11  %_sh.o: %.c
12         $(CC) $(SH_CFLAGS) -o $@ -c $<