diff options
Diffstat (limited to 'Ports/zlib/package.sh')
-rwxr-xr-x | Ports/zlib/package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/zlib/package.sh b/Ports/zlib/package.sh index d174531bdb..af2c8fe6ca 100755 --- a/Ports/zlib/package.sh +++ b/Ports/zlib/package.sh @@ -14,7 +14,7 @@ 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 + run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install + ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libz.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libz.a -Wl,--no-whole-archive + rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libz.la } |