aboutsummaryrefslogtreecommitdiff
path: root/core/pkgconf/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/pkgconf/build')
-rwxr-xr-xcore/pkgconf/build6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pkgconf/build b/core/pkgconf/build
index 6e976679..40e72d85 100755
--- a/core/pkgconf/build
+++ b/core/pkgconf/build
@@ -1,8 +1,8 @@
#!/bin/sh -e
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc
+[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc
+
+cpt-configure
make CCLD="${CC:-cc} -all-static"
make DESTDIR="$1" install