Use target ar & ranlib when generating static archives, libm4.a was being built with...
authorNigel Kukard <nkukard@lbsd.net>
Sun, 4 Jan 2009 05:59:54 +0000 (05:59 -0000)
committerNigel Kukard <nkukard@lbsd.net>
Sun, 4 Jan 2009 05:59:54 +0000 (05:59 -0000)
package/m4/m4.mk

index ac30c0ce6d605b26f64206fbc76e015b2f26842c..ab24ea0dcb7b14fefd399b56b5f23c03b1d12e93 100644 (file)
@@ -50,7 +50,7 @@ $(M4_DIR)/.configured: $(M4_DIR)/.unpacked
        touch $@
 
 $(M4_DIR)/src/$(M4_BINARY): $(M4_DIR)/.configured
-       $(MAKE) CC=$(TARGET_CC) -C $(M4_DIR)
+       $(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(M4_DIR)
 
 $(TARGET_DIR)/$(M4_TARGET_BINARY): $(M4_DIR)/src/$(M4_BINARY)
        $(MAKE) \