Fix wiviz compilation
authorFlorian Fainelli <florian@openwrt.org>
Wed, 5 Sep 2007 17:36:21 +0000 (17:36 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 5 Sep 2007 17:36:21 +0000 (17:36 +0000)
SVN-Revision: 8632

net/wiviz/Makefile

index e0e1b2d..17249a9 100644 (file)
@@ -29,10 +29,13 @@ define Build/Prepare
        $(CP) ./src/* $(PKG_BUILD_DIR)/
 endef
 
+EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
+EXTRA_LDFLAGS += -L$(STAGING_DIR)/usr/lib
+
 define Build/Compile
        $(call Build/Compile/Default, \
                CCOPTS="$(TARGET_CFLAGS)" \
-               INCLUDE="$(EXTRA_CPPFLAGS)" \
+               INCLUDE="$(EXTRA_CFLAGS)" \
                LDFLAGS="$(EXTRA_LDFLAGS)" \
        )
 endef