From 07148e91ea141cf75a2fed039cbf4a12be94813d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 5 Jul 2009 13:14:28 +0000 Subject: [PATCH] pypcap: fix compile error with the new libpcap SVN-Revision: 16691 --- lang/pypcap/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/pypcap/Makefile b/lang/pypcap/Makefile index ed7d0281d7..bbf1fc8356 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,., \ -- 2.30.2