diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-10 22:20:33 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-11 13:13:08 +0100 |
commit | 6e2d59b49f26b99c91bb62fa60c1796ad061bdfe (patch) | |
tree | 75ad6bd1ef8eb0edbc9a3c303b03fd190250f15f /Ports | |
parent | c68dfcf19fac5dfa7c856387e4a0d54f56ca5568 (diff) | |
download | serenity-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-x | Ports/gettext/package.sh | 2 |
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 } |