summaryrefslogtreecommitdiff
path: root/Ports/SDL2_gfx/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/SDL2_gfx/package.sh')
-rwxr-xr-xPorts/SDL2_gfx/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/SDL2_gfx/package.sh b/Ports/SDL2_gfx/package.sh
index 4bb5e7d76a..db2e54cc2d 100755
--- a/Ports/SDL2_gfx/package.sh
+++ b/Ports/SDL2_gfx/package.sh
@@ -6,9 +6,9 @@ files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar
auth_type=md5
depends="SDL2"
useconfigure=true
-configopts="--with-sdl-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
+configopts="--with-sdl-prefix=${SERENITY_INSTALL_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
+ run make install DESTDIR=${SERENITY_INSTALL_ROOT} $installopts
+ run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.a -Wl,--no-whole-archive
}