Fix wiviz compilation

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8632 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-09-05 17:36:21 +00:00
parent 9cc55d4552
commit e773e08aab

View 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