Ports: Specify missing library when linking SDL2_ttf

This commit is contained in:
Gunnar Beutner 2021-06-04 23:19:39 +02:00 committed by Andreas Kling
parent 7e1f413a89
commit 431bed5158
Notes: sideshowbarker 2024-07-18 16:51:49 +09:00

View File

@ -17,5 +17,5 @@ configure() {
install() {
run make install DESTDIR=${SERENITY_INSTALL_ROOT} $installopts
run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_ttf.so -Wl,-soname,libSDL2_ttf.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_ttf.a -Wl,--no-whole-archive
run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_ttf.so -Wl,-soname,libSDL2_ttf.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_ttf.a -Wl,--no-whole-archive -lfreetype
}