pypcap: fix compile error with the new libpcap
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16691 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0d0fb883f7
commit
d3d5e5fff1
@ -33,6 +33,8 @@ define PyPackage/python-pcap/filespec
|
|||||||
+|$(PYTHON_PKG_DIR)/pcap.so
|
+|$(PYTHON_PKG_DIR)/pcap.so
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -DHAVE_PCAP_FILE=1
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
|
$(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
|
||||||
$(call Build/Compile/PyMod,., \
|
$(call Build/Compile/PyMod,., \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user