summaryrefslogtreecommitdiff
path: root/openwrt/package/libpcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/libpcap/Makefile')
-rw-r--r--openwrt/package/libpcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/libpcap/Makefile b/openwrt/package/libpcap/Makefile
index fa79e7461f..c7dfd9991a 100644
--- a/openwrt/package/libpcap/Makefile
+++ b/openwrt/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 $@