summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-19 19:31:58 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-20 21:08:17 +0200
commit1e06a9b10fafcf482fe7b930222a8dce579b8eb8 (patch)
treede1ccf87a946808a4e3d0e16b957801d5b876ba3 /Ports
parent2520ccfca43efe7bd4eb752e4b9117f78af02736 (diff)
downloadserenity-1e06a9b10fafcf482fe7b930222a8dce579b8eb8.zip
Ports: Build shared library for xz with -pthread
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/xz/package.sh2
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
}