From: nbd Date: Sun, 5 Jul 2009 13:14:28 +0000 (+0000) Subject: pypcap: fix compile error with the new libpcap X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=d3d5e5fff14f77cbc8046f3b6d87a352def8249c;p=packages.git pypcap: fix compile error with the new libpcap git-svn-id: svn://svn.openwrt.org/openwrt/packages@16691 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/pypcap/Makefile b/lang/pypcap/Makefile index ed7d0281d..bbf1fc835 100644 --- a/lang/pypcap/Makefile +++ b/lang/pypcap/Makefile @@ -33,6 +33,8 @@ define PyPackage/python-pcap/filespec +|$(PYTHON_PKG_DIR)/pcap.so endef +TARGET_CFLAGS += -DHAVE_PCAP_FILE=1 + define Build/Compile $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false) $(call Build/Compile/PyMod,., \