mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
if target arch installs into a lib64 dir, make sure we move the stuff to plain old lib
This commit is contained in:
parent
b8086bb124
commit
fbd8ef5267
@ -176,6 +176,13 @@ $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
|
|||||||
|
|
||||||
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
|
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
|
||||||
PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) install
|
PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) install
|
||||||
|
if [ -d "$(STAGING_DIR)/lib64" ] ; then \
|
||||||
|
if [ ! -e "$(STAGING_DIR)/lib" ] ; then \
|
||||||
|
mkdir "$(STAGING_DIR)/lib" ; \
|
||||||
|
fi ; \
|
||||||
|
mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \
|
||||||
|
rmdir "$(STAGING_DIR)/lib64" ; \
|
||||||
|
fi
|
||||||
# Strip the host binaries
|
# Strip the host binaries
|
||||||
ifeq ($(GCC_STRIP_HOST_BINARIES),true)
|
ifeq ($(GCC_STRIP_HOST_BINARIES),true)
|
||||||
-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
|
-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user