From 1e06a9b10fafcf482fe7b930222a8dce579b8eb8 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 19 Apr 2021 19:31:58 +0200 Subject: Ports: Build shared library for xz with -pthread --- Ports/xz/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ports/xz/package.sh') 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 } -- cgit v1.2.3