mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 19:15:55 +00:00
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.
This commit is contained in:
parent
c68dfcf19f
commit
6e2d59b49f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue