fix bitlbee build
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8874 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2b33ab1744
commit
4170b3a0db
@ -64,13 +64,17 @@ define Build/Configure
|
|||||||
--glib1=1 \
|
--glib1=1 \
|
||||||
--glib1prefix="$(STAGING_DIR)/usr" \
|
--glib1prefix="$(STAGING_DIR)/usr" \
|
||||||
);
|
);
|
||||||
|
$(SED) 's,^CFLAGS=.*,CFLAGS=$(TARGET_CFLAGS),g'\
|
||||||
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
|
@echo 'CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include' >> \
|
||||||
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
|
@echo 'LFLAGS+=-L$(STAGING_DIR)/usr/lib' >> \
|
||||||
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
|
@echo 'LFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib' >> \
|
||||||
|
$(PKG_BUILD_DIR)/Makefile.settings
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
@echo 'CFLAGS+="-I$(STAGING_DIR)/usr/lib/libiconv/include"' >> \
|
|
||||||
$(PKG_BUILD_DIR)/Makefile.settings
|
|
||||||
@echo 'LFLAGS+="-L$(STAGING_DIR)/usr/lib/libiconv/lib"' >> \
|
|
||||||
$(PKG_BUILD_DIR)/Makefile.settings
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user