diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-06-03 17:15:45 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-03 20:50:01 +0100 |
commit | 0ecf17cf91622a82d329b7ea2515a175ef7ce3c3 (patch) | |
tree | 10288dca818970d0b36f5e64ca5962e151ecf0ee /Ports/xz/package.sh | |
parent | 1c66ec7aea48da0c0bbfa2760313b92a57859c06 (diff) | |
download | serenity-0ecf17cf91622a82d329b7ea2515a175ef7ce3c3.zip |
Ports: Replace manually linking `xz` with a libtool patch
Diffstat (limited to 'Ports/xz/package.sh')
-rwxr-xr-x | Ports/xz/package.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Ports/xz/package.sh b/Ports/xz/package.sh index fe104ce36b..78539040e9 100755 --- a/Ports/xz/package.sh +++ b/Ports/xz/package.sh @@ -2,14 +2,9 @@ port=xz version=5.2.5 useconfigure=true +configopts=("--disable-static" "--enable-shared") use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") files="https://tukaani.org/xz/xz-${version}.tar.gz xz-${version}.tar.gz f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10" auth_type=sha256 depends=("zlib" "libiconv") - -install() { - run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install - ${CC} -pthread -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.so -Wl,-soname,liblzma.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.a -Wl,--no-whole-archive -lz -liconv - rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.la -} |