summaryrefslogtreecommitdiff
path: root/Ports/libogg
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/libogg')
-rwxr-xr-xPorts/libogg/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/libogg/package.sh b/Ports/libogg/package.sh
index 439e3bc608..f5147049b6 100755
--- a/Ports/libogg/package.sh
+++ b/Ports/libogg/package.sh
@@ -6,7 +6,7 @@ files="https://github.com/xiph/ogg/releases/download/v${version}/libogg-${versio
auth_type=md5
install() {
- run make DESTDIR=$DESTDIR $installopts install
- ${CC} -shared -o $DESTDIR/usr/local/lib/libogg.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libogg.a -Wl,--no-whole-archive
- rm -f $DESTDIR/usr/local/lib/libogg.la
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
+ ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libogg.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libogg.a -Wl,--no-whole-archive
+ rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libogg.la
}