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 7b49b6598fceed10c6cd8da17c0d43ba04157dd0..fe96512e298a60861b6475f4785f9579b26bda5a 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