diff --git a/test/elf/preinit-array.sh b/test/elf/preinit-array.sh index c9fa413924..309b695298 100755 --- a/test/elf/preinit-array.sh +++ b/test/elf/preinit-array.sh @@ -13,6 +13,7 @@ cd "$(dirname "$0")"/../.. t=out/test/elf/$testname mkdir -p $t +echo 'int main() {}' | $CC -o $t/exe -xc - readelf --dynamic $t/exe | grep -q ld-musl && { echo skipped; exit; } [ $MACHINE = x86_64 ] || { echo skipped; exit; }