summaryrefslogtreecommitdiff
path: root/Ports/libiconv/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/libiconv/package.sh')
-rwxr-xr-xPorts/libiconv/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/libiconv/package.sh b/Ports/libiconv/package.sh
index b9fb916453..cf52c41be0 100755
--- a/Ports/libiconv/package.sh
+++ b/Ports/libiconv/package.sh
@@ -11,6 +11,6 @@ auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg libiconv-${version}.tar.gz.sig"
install() {
- run make DESTDIR=$DESTDIR $installopts install
- run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o $DESTDIR/usr/local/lib/libiconv.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libiconv.a -Wl,--no-whole-archive
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
+ run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.a -Wl,--no-whole-archive
}