mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
da92c0e1ca
This manually builds shared libraries for a bunch of ports. Using libtool would be preferable but that's currently broken so I'm linking the shared libraries manually.
16 lines
697 B
Bash
Executable file
16 lines
697 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=libiconv
|
|
version=1.16
|
|
useconfigure=true
|
|
configopts=--enable-shared
|
|
files="https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz libiconv-${version}.tar.gz
|
|
https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz.sig libiconv-${version}.tar.gz.sig
|
|
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
|
|
|
auth_type="sig"
|
|
auth_opts="--keyring ./gnu-keyring.gpg libiconv-${version}.tar.gz.sig"
|
|
|
|
install() {
|
|
run make DESTDIR=$DESTDIR $installopts install
|
|
run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o $DESTDIR/usr/local/lib/libiconv.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libiconv.a -Wl,--no-whole-archive
|
|
}
|