mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:07:34 +00:00
Ports: Replace manually linking libjpeg
with a libtool patch
This commit is contained in:
parent
a97899c088
commit
c7faa3a229
3 changed files with 93 additions and 6 deletions
|
@ -2,12 +2,7 @@
|
|||
port=libjpeg
|
||||
version=9e
|
||||
useconfigure=true
|
||||
configopts=("--disable-static" "--enable-shared")
|
||||
files="https://ijg.org/files/jpegsrc.v${version}.tar.gz jpeg-${version}.tar.gz 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d"
|
||||
auth_type=sha256
|
||||
workdir="jpeg-$version"
|
||||
|
||||
install() {
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libjpeg.so -Wl,-soname,libjpeg.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libjpeg.a -Wl,--no-whole-archive
|
||||
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libjpeg.la
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue