summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 791b91e..6c7c392 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -6,7 +6,7 @@ CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
CFLAGS_CONFIG += -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
LDFLAGS_SHARED += -Wl,--exclude-all-symbols
-LDFLAGS_SHARED += -lpemagine -ldalist
+LDFLAGS_SHARED += -nostdlib -lpemagine -ldalist
ifeq ($(HOST_BITS),32)
LDFLAGS_SHARED += -Wl,--entry -Wl,$(HOST_UNDERSCORE)__ntapi_entry_point@12