build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 Nov 2011 19:19:33 +0000 (19:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 Nov 2011 19:19:33 +0000 (19:19 +0000)
SVN-Revision: 29352

toolchain/Makefile
tools/Makefile

index 5585b76dbad1a4e2153132765469cc1cae2218b8..0443924c53e294657add768b95fc9a42523ca032 100644 (file)
@@ -60,6 +60,7 @@ ifneq ($(ARCH),)
                $(if $(QUIET),,set -x;) \
                mkdir -p "$$dir"; \
                cd "$$dir"; \
+               ln -sf lib lib64; \
                mkdir -p stamp lib usr/include usr/lib ; \
        ); done
        @grep GCC_VERSION $@ >/dev/null 2>&1 || $(INSTALL_DATA) $(TOPDIR)/toolchain/info.mk $@
index a21edd954cd14cb5b4547211de4666ff22ce1db2..0c2706d7a82783cf1bb35e96eeb27c838f4bc92e 100644 (file)
@@ -83,6 +83,7 @@ $(STAGING_DIR_HOST)/.prepared: $(TMP_DIR)/.build
        mkdir -p $(BUILD_DIR_HOST)/stamp $(STAGING_DIR_HOST)/include/sys
        $(INSTALL_DATA) $(TOPDIR)/tools/include/*.h $(STAGING_DIR_HOST)/include/
        $(INSTALL_DATA) $(TOPDIR)/tools/include/sys/*.h $(STAGING_DIR_HOST)/include/sys/
+       ln -sf lib $(STAGING_DIR_HOST)/lib64
        touch $@