mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:34:36 +02:00
build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cb73b00a8f
commit
920303cbb2
@ -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 $@
|
||||
|
@ -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 $@
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user