mirror of
https://github.com/yugr/Implib.so
synced 2026-06-08 18:33:41 +00:00
Do not link extraneous libs in Musl case.
This commit is contained in:
@@ -95,6 +95,9 @@ fi
|
||||
|
||||
if uname | grep -q BSD; then
|
||||
LIBS='-pthread'
|
||||
elif echo "$CC" | grep -q musl-gcc; then
|
||||
# Just libc.so in musl
|
||||
LIBS=
|
||||
else
|
||||
LIBS='-ldl -pthread'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user