From 58ba9b507029c422c843bef5ee2fc63147b60ee3 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 30 Dec 2020 23:09:01 +0300 Subject: pkgconf: fix cross build --- core/pkgconf/build | 6 +++--- 1 file 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 -- cgit v1.2.3