Ports: Add missing .so extension for ffmpeg library SONAMEs

This commit is contained in:
Gunnar Beutner 2021-05-09 17:02:14 +02:00 committed by Linus Groh
parent 80a742b1b3
commit 8603041ed8
Notes: sideshowbarker 2024-07-18 18:25:42 +09:00

View File

@ -20,7 +20,7 @@ configure() {
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
for lib in libavcodec libavdevice libavfilter libavformat libavutil; do
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.so -Wl,-soname,${lib} -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.a -Wl,--no-whole-archive -liconv -ltiff -llzma -lbz2
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.so -Wl,-soname,${lib}.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.a -Wl,--no-whole-archive -liconv -ltiff -llzma -lbz2
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/$lib.la
done
}