aboutsummaryrefslogtreecommitdiff
path: root/core/curl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-20 01:15:25 +0300
committerCem Keylan <cem@ckyln.com>2021-09-20 01:15:25 +0300
commitdb117be12e7be76d208ce613a803410956b47294 (patch)
treee21045d38f21ff4298ccf543acceb0712d68f13f /core/curl/build
parent102d0a1951b18c32944821b68341eb5aa0d9145a (diff)
downloadrepository-db117be12e7be76d208ce613a803410956b47294.tar.gz
curl: build dynamic libraries but link the binary statically
Diffstat (limited to 'core/curl/build')
-rwxr-xr-xcore/curl/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/curl/build b/core/curl/build
index 7ac915ff..49110294 100755
--- a/core/curl/build
+++ b/core/curl/build
@@ -18,5 +18,8 @@
--without-zstd \
--with-pic
-make LDFLAGS=-all-static
+make
make DESTDIR="$1" install
+rm -f src/curl
+make LDFLAGS=-all-static
+clinst -Dm755 src/curl "$1/usr/bin/curl"