aboutsummaryrefslogtreecommitdiffstats
path: root/package/libpcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpcap/Makefile')
-rw-r--r--package/libpcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index fa79e7461f..c7dfd9991a 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -57,7 +57,7 @@ $(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CCOPT="$(TARGET_CFLAGS)" \
+ CCOPT="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
touch $@