We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1624dc0 commit 15d9b33Copy full SHA for 15d9b33
src/ci/docker/scripts/musl-toolchain.sh
@@ -28,6 +28,10 @@ exit 1
28
}
29
30
TARGET=$1
31
+#ARCH=$1
32
+#TARGET=linux-musl-$ARCH
33
+ARCH=x86_64
34
+
35
OUTPUT=/usr/local
36
shift
37
@@ -39,6 +43,13 @@ hide_output make install TARGET=$TARGET OUTPUT=$OUTPUT
39
43
40
44
cd ..
41
45
46
+# Make musl binaries executable
47
48
+ln -s $OUTPUT/$TARGET/lib/ld-musl-$ARCH.so.1 /lib
49
+ln -s $OUTPUT/$TARGET/lib/libc.so /lib
50
+echo $OUTPUT/$TARGET/lib >> /etc/ld-musl-$ARCH.path
51
52
42
53
export CC=$TARGET-gcc
54
export CXX=$TARGET-g++
55
0 commit comments