summaryrefslogtreecommitdiffstats
path: root/package/libtool
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-01-04 06:04:50 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-01-04 06:04:50 +0000
commitbdd9d4dc0d78f8fea4208aab9f4e837e1b4e09f6 (patch)
tree96856f0e5a5459dc4b5637c0b4205e295bc4af7d /package/libtool
parent7f6261dbfbb96760765f5df27e3c77fe4e58ed99 (diff)
downloadbuildroot-novena-bdd9d4dc0d78f8fea4208aab9f4e837e1b4e09f6.tar.gz
buildroot-novena-bdd9d4dc0d78f8fea4208aab9f4e837e1b4e09f6.zip
Use target ar & ranlib when generating static archives, the host tools were being used when libltdl.a was being generated
Diffstat (limited to 'package/libtool')
-rw-r--r--package/libtool/libtool.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk
index 85e2d5b47..b70c1c391 100644
--- a/package/libtool/libtool.mk
+++ b/package/libtool/libtool.mk
@@ -56,7 +56,7 @@ $(LIBTOOL_DIR)/.configured: $(LIBTOOL_SRC_DIR)/.unpacked
touch $@
$(LIBTOOL_DIR)/$(LIBTOOL_BINARY): $(LIBTOOL_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(LIBTOOL_DIR)
+ $(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LIBTOOL_DIR)
touch -c $@
$(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY): $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
@@ -90,7 +90,7 @@ endif
libtool: uclibc $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY)
libtool-clean:
- -$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBTOOL_DIR) uninstall
+ -$(MAKE) DESTDIR=$(TARGET_DIR) -C $(LIBTOOL_DIR) uninstall
-$(MAKE) -C $(LIBTOOL_DIR) clean
libtool-cross: uclibc $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)