mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 12:17:36 +00:00
Ports: Build shared libraries for a few more ports
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.
This commit is contained in:
parent
c9d5358685
commit
da92c0e1ca
10 changed files with 50 additions and 2 deletions
|
@ -10,5 +10,11 @@ auth_import_key="783FCD8E58BCAFBA"
|
|||
auth_opts="zlib-${version}.tar.gz.asc"
|
||||
|
||||
configure() {
|
||||
run ./configure --static
|
||||
run ./configure
|
||||
}
|
||||
|
||||
install() {
|
||||
run make DESTDIR=$DESTDIR $installopts install
|
||||
${CC} -shared -o $DESTDIR/usr/local/lib/libz.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libz.a -Wl,--no-whole-archive
|
||||
rm -f $DESTDIR/usr/local/lib/libz.la
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue