From 82c1fb46f302435aaebbd3a5de73cd4c12290ac2 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 5 Sep 2007 17:36:21 +0000 Subject: [PATCH] Fix wiviz compilation SVN-Revision: 8632 --- net/wiviz/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/wiviz/Makefile b/net/wiviz/Makefile index e0e1b2d1f5..17249a9c19 100644 --- a/net/wiviz/Makefile +++ b/net/wiviz/Makefile @@ -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 -- 2.30.2