Commit f9253bbb authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Specify -nodefaultlibs when building low-level dlls.

parent 121a7f78
...@@ -7,7 +7,7 @@ MODULE = kernel32.dll ...@@ -7,7 +7,7 @@ MODULE = kernel32.dll
IMPORTLIB = kernel32 IMPORTLIB = kernel32
IMPORTS = ntdll IMPORTS = ntdll
EXTRALIBS = @COREFOUNDATIONLIB@ @LIBPOLL@ EXTRALIBS = @COREFOUNDATIONLIB@ @LIBPOLL@
EXTRADLLFLAGS = -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000 EXTRADLLFLAGS = -nodefaultlibs -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000
C_SRCS = \ C_SRCS = \
actctx.c \ actctx.c \
......
...@@ -6,8 +6,8 @@ MODULE = krnl386.exe16 ...@@ -6,8 +6,8 @@ MODULE = krnl386.exe16
IMPORTLIB = kernel IMPORTLIB = kernel
IMPORTS = kernel32 ntdll IMPORTS = kernel32 ntdll
DELAYIMPORTS = ddraw dsound user32 DELAYIMPORTS = ddraw dsound user32
EXTRAIMPLIBFLAGS = --subsystem win16 EXTRAIMPLIBFLAGS = -m16
EXTRADLLFLAGS = -Wb,--subsystem,win16,--dll-name,kernel EXTRADLLFLAGS = -m16 -nodefaultlibs -Wb,--dll-name,kernel
EXTRARCFLAGS = -O res16 EXTRARCFLAGS = -O res16
C_SRCS = \ C_SRCS = \
......
...@@ -6,7 +6,7 @@ VPATH = @srcdir@ ...@@ -6,7 +6,7 @@ VPATH = @srcdir@
MODULE = ntdll.dll MODULE = ntdll.dll
IMPORTLIB = ntdll IMPORTLIB = ntdll
EXTRALIBS = @IOKITLIB@ @LIBPTHREAD@ EXTRALIBS = @IOKITLIB@ @LIBPTHREAD@
EXTRADLLFLAGS = -Wl,--image-base,0x7bc00000 EXTRADLLFLAGS = -nodefaultlibs -Wl,--image-base,0x7bc00000
C_SRCS = \ C_SRCS = \
actctx.c \ actctx.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment