diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-19 19:31:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-20 21:08:17 +0200 |
commit | 1e06a9b10fafcf482fe7b930222a8dce579b8eb8 (patch) | |
tree | de1ccf87a946808a4e3d0e16b957801d5b876ba3 /Ports/xz/package.sh | |
parent | 2520ccfca43efe7bd4eb752e4b9117f78af02736 (diff) | |
download | serenity-1e06a9b10fafcf482fe7b930222a8dce579b8eb8.zip |
Ports: Build shared library for xz with -pthread
Diffstat (limited to 'Ports/xz/package.sh')
-rwxr-xr-x | Ports/xz/package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/xz/package.sh b/Ports/xz/package.sh index ed286f6f2a..d9f753fd28 100755 --- a/Ports/xz/package.sh +++ b/Ports/xz/package.sh @@ -8,6 +8,6 @@ depends="zlib libiconv" install() { run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install - ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.a -Wl,--no-whole-archive -lz -liconv + ${CC} -pthread -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/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 } |