mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Ports: Link libtiff against libjpeg
Apparently libtiff uses symbols from libjpeg when that port was previously built.
This commit is contained in:
parent
611019e938
commit
be724f184b
|
@ -7,11 +7,11 @@ http://download.osgeo.org/libtiff/tiff-${version}.tar.gz.sig tiff-${version}.tar
|
||||||
auth_type="sig"
|
auth_type="sig"
|
||||||
auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975"
|
auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975"
|
||||||
auth_opts="tiff-${version}.tar.gz.sig tiff-${version}.tar.gz"
|
auth_opts="tiff-${version}.tar.gz.sig tiff-${version}.tar.gz"
|
||||||
depends="zstd xz"
|
depends="libjpeg zstd xz"
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
|
||||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.so -Wl,-soname,libtiff.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd -llzma
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.so -Wl,-soname,libtiff.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd -llzma -ljpeg
|
||||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.so -Wl,-soname,libtiffxx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd -llzma
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.so -Wl,-soname,libtiffxx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd -llzma -ljpeg
|
||||||
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.la ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.la
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.la ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.la
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue