summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/cbb-musl-pe.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index b2ee0ce8e..349372ce0 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -88,10 +88,10 @@ extern "C" {
#define STARTFILE_SPEC "%R/lib/crti.o " \
"%{!shared:%{mposix:%R/lib/crtposix.o}} " \
"%{!shared:%{mdinga:%R/lib/crtdinga.o}} " \
- "%{!shared:%{!static:%{mldso:" \
- "%R/lib/crtldso.o}}} " \
- "%{!shared:%{!static:%{mvrfs:" \
- "%R/lib/crtvrfs.o}}} " \
+ "%{!shared:%{mldso:" \
+ "%R/lib/%{static:S}crtldso.o}} " \
+ "%{!shared:%{mvrfs:" \
+ "%R/lib/%{static:S}crtvrfs.o}} " \
"%{!shared:%{!static:%{midata:" \
"%R/lib/crtidata.o}}} " \
"%{!shared:%R/lib/%{static:S}crt1.o} " \