Skip to content

Commit fbe8a71

Browse files
committed
try hack 1
1 parent 6052675 commit fbe8a71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

trurl.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ _VER="$1"
6565
elif [ "${_OS}" = 'mac' ]; then
6666
options+=" -DCURL_LIBRARY=${_TOP}/curl/${_PP}/lib/libcurl.4.dylib"
6767
elif [ "${_OS}" = 'linux' ]; then
68+
if [ "${_CRT}" = 'musl' ]; then
69+
_CFLAGS_GLOBAL_PATCHED="${_CFLAGS_GLOBAL_PATCHED//-static/}" # for musl gcc
70+
fi
6871
options+=" -DCURL_LIBRARY=${_TOP}/curl/${_PP}/lib/libcurl.so.4"
6972
fi
7073
fi

0 commit comments

Comments
 (0)