1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:38:10 +00:00

Ports: Build shared library for xz with -pthread

This commit is contained in:
Gunnar Beutner 2021-04-19 19:31:58 +02:00 committed by Andreas Kling
parent 2520ccfca4
commit 1e06a9b10f

View file

@ -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
}