summaryrefslogtreecommitdiff
path: root/openwrt/package/glib
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-10 16:06:24 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-10 16:06:24 +0000
commit4eb17c54154a9f89d4aeb097bbc17eabf6475443 (patch)
tree8d5d1cb1834673f54bf26163e53efd692657d167 /openwrt/package/glib
parent2cb724bb3670625ba8cfce342dd40990edad62ee (diff)
downloadmtk-20170518-4eb17c54154a9f89d4aeb097bbc17eabf6475443.zip
mtk-20170518-4eb17c54154a9f89d4aeb097bbc17eabf6475443.tar.gz
mtk-20170518-4eb17c54154a9f89d4aeb097bbc17eabf6475443.tar.bz2
Fix building when host and target systems are same arch
SVN-Revision: 1597
Diffstat (limited to 'openwrt/package/glib')
-rw-r--r--openwrt/package/glib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/glib/Makefile b/openwrt/package/glib/Makefile
index 473e8b6..cbbd486 100644
--- a/openwrt/package/glib/Makefile
+++ b/openwrt/package/glib/Makefile
@@ -48,6 +48,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
glib_cv_byte_contents_gmutex="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \