aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 21:33:11 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 21:33:11 +0300
commitc72c7a36ebf9383a74af60e3be23374f10791771 (patch)
treee3bb326ddee0b904712e73c53a1e61c5f430d7d5
parent8452566badc5230a1f53b9239632c105e7e2c908 (diff)
downloadrepository-c72c7a36ebf9383a74af60e3be23374f10791771.tar.gz
bearssl: fix cross compilation for the shared library
-rwxr-xr-xcore/bearssl/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bearssl/build b/core/bearssl/build
index 29ead982..2faf0498 100755
--- a/core/bearssl/build
+++ b/core/bearssl/build
@@ -11,7 +11,7 @@ kinstall() {
[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc AR=$CPT_CROSS_TRIPLET-ar
-make "CC=${CC:=cc}" "AR=${AR:=ar}" LD=$CC
+make "CC=${CC:=cc}" "AR=${AR:=ar}" LD=$CC LDDLL=$CC
# Build static binary for bearssl, word splitting on CFLAGS is intentional.
# shellcheck disable=2086