fix wprobe conflict with libnl
authorFelix Fietkau <nbd@openwrt.org>
Wed, 6 May 2009 13:54:42 +0000 (13:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 6 May 2009 13:54:42 +0000 (13:54 +0000)
SVN-Revision: 15636

package/wprobe/Makefile

index 7b49b65..fe96512 100644 (file)
@@ -59,9 +59,9 @@ define Build/Prepare
        $(CP) src/* $(PKG_BUILD_DIR)/
 endef
 
-TARGET_CFLAGS += \
+TARGET_CPPFLAGS := \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
-       -I$(STAGING_DIR)/usr/include
+       $(TARGET_CPPFLAGS)
 
 ifdef CONFIG_PACKAGE_kmod-wprobe
   define Build/Compile/kmod