Skip to content
Snippets Groups Projects
Verified Commit 63289089 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

zlib: install to /usr

parent b4d76c65
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,10 @@ template = "custom"
script = """
DYNAMIC_INIT
# See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar.
CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" --prefix=""
CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" --prefix="/usr"
"${COOKBOOK_MAKE}" -j "$(nproc)"
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
patchelf --set-soname 'libz.so.1.3' "${COOKBOOK_STAGE}/lib/libz.so.1.3"
patchelf --set-soname 'libz.so.1.3' "${COOKBOOK_STAGE}/usr/lib/libz.so.1.3"
"""
[package]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment