aboutsummaryrefslogtreecommitdiff
path: root/core/pkgconf/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-08 22:40:01 +0300
committerCem Keylan <cem@ckyln.com>2020-06-08 22:40:01 +0300
commitb768c38949cf232e472a2d818ab4a5e4eebc10d8 (patch)
treeb97e7a26d210921f24ee70324aa93ec648ed42ce /core/pkgconf/build
parenta0511494dc66e6e2f7bd018c51aa01fdbeea0fe1 (diff)
downloadrepository-b768c38949cf232e472a2d818ab4a5e4eebc10d8.tar.gz
pkgconf: link statically
Diffstat (limited to 'core/pkgconf/build')
-rwxr-xr-xcore/pkgconf/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pkgconf/build b/core/pkgconf/build
index 503d3a77..33730431 100755
--- a/core/pkgconf/build
+++ b/core/pkgconf/build
@@ -4,7 +4,7 @@
--prefix=/usr \
--sysconfdir=/etc
-make
+make LDFLAGS="$LDFLAGS -static" CCLD="${CC:-cc} -all-static"
make DESTDIR="$1" install
ln -s pkgconf "$1/usr/bin/pkg-config"