mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:17:34 +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
|
@ -6,3 +6,8 @@ files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar
|
|||
depends="SDL2"
|
||||
useconfigure=true
|
||||
configopts="--with-sdl-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
|
||||
|
||||
install() {
|
||||
run make install DESTDIR=$DESTDIR $installopts
|
||||
run ${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_gfx.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_gfx.a -Wl,--no-whole-archive
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue