mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
Use target ar & ranlib when generating static archives, the host tools were being used when libltdl.a was being generated
This commit is contained in:
parent
7f6261dbfb
commit
bdd9d4dc0d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user