summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/cbb-musl-pe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index 38976ee6e..13f25b15c 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -77,7 +77,7 @@ extern "C" {
" --as-needed -lntapi" \
" --as-needed -ldalist" \
" --as-needed -lpemagine}" \
- "%{!shared:%{!static:%{mldso|mvrfs:" \
+ "%{!shared:%{!static:%{!midata:" \
" --as-needed -lldso}}}"
#undef STARTFILE_SPEC
@@ -92,7 +92,7 @@ extern "C" {
"%R/lib/crtidata.o}}} " \
"%{!shared:%R/lib/%{static:S}crt1.o} " \
"%{!shared:%{!mldso:%{!mvrfs:%{!midata:" \
- "%{!static:%R/lib/crtidata.o}}}}} " \
+ "%R/lib/%{static:S}crtldso.o}}}} " \
"%{shared:%R/lib/crte.o} " \
"%{static:crtbeginT.o%s;" \
"shared|pie:crtbeginS.o%s;" \