diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-30 23:09:01 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-30 23:09:01 +0300 |
commit | 58ba9b507029c422c843bef5ee2fc63147b60ee3 (patch) | |
tree | 6bdf6af89af3795343ce80e6b318905f1fe0ccf5 /core/pkgconf/build | |
parent | 6e2624c7d7c40cf312ccebd4c3479a58997f0fad (diff) | |
download | repository-58ba9b507029c422c843bef5ee2fc63147b60ee3.tar.gz |
pkgconf: fix cross build
Diffstat (limited to 'core/pkgconf/build')
-rwxr-xr-x | core/pkgconf/build | 6 |
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 |