summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-10 22:20:33 +0200
committerLinus Groh <mail@linusgroh.de>2021-05-11 13:13:08 +0100
commit6e2d59b49f26b99c91bb62fa60c1796ad061bdfe (patch)
tree75ad6bd1ef8eb0edbc9a3c303b03fd190250f15f /Ports
parentc68dfcf19fac5dfa7c856387e4a0d54f56ca5568 (diff)
downloadserenity-6e2d59b49f26b99c91bb62fa60c1796ad061bdfe.zip
Ports: Link gettext against libpthread
Apparently libintl uses pthread_cond_broadcast() so let's make sure that we link it against libpthread so we don't call libc's pthread stubs.
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/gettext/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/gettext/package.sh b/Ports/gettext/package.sh
index 64dc490406..2fce863d7b 100755
--- a/Ports/gettext/package.sh
+++ b/Ports/gettext/package.sh
@@ -7,6 +7,6 @@ auth_type=sha256
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
- ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libintl.so -Wl,-soname,libintl.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libintl.a -Wl,--no-whole-archive -liconv
+ ${CC} -shared -pthread -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libintl.so -Wl,-soname,libintl.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libintl.a -Wl,--no-whole-archive -liconv
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libintl.la
}