summaryrefslogtreecommitdiff
path: root/Ports/zlib/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/zlib/package.sh')
-rwxr-xr-xPorts/zlib/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/zlib/package.sh b/Ports/zlib/package.sh
index aaad451c82..6ef8ed2589 100755
--- a/Ports/zlib/package.sh
+++ b/Ports/zlib/package.sh
@@ -11,7 +11,7 @@ configure() {
}
install() {
- run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libz.so -Wl,-soname,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
}