From e773e08aab5b139dd26052dfc8e77cf2fd173151 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 5 Sep 2007 17:36:21 +0000 Subject: [PATCH] Fix wiviz compilation git-svn-id: svn://svn.openwrt.org/openwrt/packages@8632 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/wiviz/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/wiviz/Makefile b/net/wiviz/Makefile index e0e1b2d1f..17249a9c1 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.11.0