[BUILDING SYSTEM] Add specific prefix to `musl` build
to distinguish the standard library provided by OS and
AppScope's internal standard library we need symbol
redefinition
we use `objcopy` to prefix all symbols in the static
library based on musl (internal standard library)
@@ -98,4 +98,5 @@ build/musl/lib/libc.a:
@mkdir build/musl
# To enable debug please add below --enable-debug --enable-optimize=no
cd build/musl && ../../musl/configure --disable-shared --disable-wrapper && $(MAKE)
+ objcopy --prefix-symbols=scopelibc_ build/musl/lib/libc.a
@[ -z "$(CI)" ] || echo "::endgroup::"
