summaryrefslogtreecommitdiff
path: root/openwrt/package/ulogd/patches
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-19 10:07:20 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-19 10:07:20 +0000
commit7a406765bb98f52dfa28210ef6d5434f71da5e6b (patch)
tree5c8e57271f4cbd3d25ee18b85b646aaf4fcef093 /openwrt/package/ulogd/patches
parent96ccc827e88fc7cc58b596d8c9a77560ed6664d3 (diff)
Enable mod-ulogd-pcap build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3671 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/ulogd/patches')
-rw-r--r--openwrt/package/ulogd/patches/ulogd-1.23-pcap_ldflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/ulogd/patches/ulogd-1.23-pcap_ldflags.patch b/openwrt/package/ulogd/patches/ulogd-1.23-pcap_ldflags.patch
new file mode 100644
index 0000000000..d45182329f
--- /dev/null
+++ b/openwrt/package/ulogd/patches/ulogd-1.23-pcap_ldflags.patch
@@ -0,0 +1,12 @@
+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 $<