summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--musl.lzy2
1 files changed, 1 insertions, 1 deletions
diff --git a/musl.lzy b/musl.lzy
index 33058d7..5ab977e 100644
--- a/musl.lzy
+++ b/musl.lzy
@@ -38,7 +38,7 @@ lz_project_definitions()
--out-implib $lz_build_dir/lib/libc.lib.a \
--exclude-symbols=$pe_excluded_symbols"
else
- musl_libc_so_ldflags="-shared -e _start -Bsymbolic-functions"
+ musl_libc_so_ldflags="-shared -e _dlstart -Bsymbolic-functions"
musl_cflags_shared="$musl_cflags_shared -DSHARED"
fi