[package] fix openswan compilation (#5261)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 6 Jul 2009 13:16:38 +0000 (13:16 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 6 Jul 2009 13:16:38 +0000 (13:16 +0000)
SVN-Revision: 16715

net/openswan/Makefile

index d80cfc7..72dfd77 100644 (file)
@@ -62,7 +62,7 @@ OPENSWAN_MAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
        KERNELSRC="$(LINUX_DIR)" \
        ARCH="$(LINUX_KARCH)" \
        CROSS_COMPILE="$(TARGET_CROSS)" \
-       USERCOMPILE="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/linux/include $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \
+       USERCOMPILE="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/ports/linux/include -I$(PKG_BUILD_DIR)/linux/include -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \
        IPSECDIR="/usr/lib/ipsec" \
        INC_USRLOCAL="/usr" \
        INC_RCDEFAULT="/etc/init.d" \