mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/skeleton: create lib64 symlink on s390x
Building on a s390x host, we currently end up with:
output/host/lib
output/host/lib32 -> lib
output/host/lib64
host-libopenssl installs to lib64, but since the kernel build doesn't
explicitly search there, it breaks:
>>> linux 6.6.32 Building
[...]
HOSTCC scripts/sign-file
/usr/bin/ld: cannot find -lcrypto: No such file or directory
collect2: error: ld returned 1 exit status
Fix this by creating a lib64 link instead of lib32, so we get:
output/host/lib
output/host/lib64 -> lib
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 66a5f9bc74)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
9bdb8f9785
commit
7a6d41364f
@@ -23,7 +23,7 @@ define HOST_SKELETON_INSTALL_CMDS
|
|||||||
$(Q)mkdir -p $(HOST_DIR)/lib
|
$(Q)mkdir -p $(HOST_DIR)/lib
|
||||||
$(Q)mkdir -p $(HOST_DIR)/include
|
$(Q)mkdir -p $(HOST_DIR)/include
|
||||||
$(Q)case $(HOSTARCH) in \
|
$(Q)case $(HOSTARCH) in \
|
||||||
(*64) ln -snf lib $(HOST_DIR)/lib64;; \
|
(*64|s390x) ln -snf lib $(HOST_DIR)/lib64;; \
|
||||||
(*) ln -snf lib $(HOST_DIR)/lib32;; \
|
(*) ln -snf lib $(HOST_DIR)/lib32;; \
|
||||||
esac
|
esac
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user