aboutsummaryrefslogtreecommitdiff
path: root/core/zlib/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/zlib/build')
-rwxr-xr-xcore/zlib/build3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/zlib/build b/core/zlib/build
index 01090e82..c14fa524 100755
--- a/core/zlib/build
+++ b/core/zlib/build
@@ -1,5 +1,8 @@
#!/bin/sh -e
+[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc
+export CC
+
./configure \
--prefix=/usr \
--libdir=/usr/lib \