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

This commit is contained in:
Alexandre Julliard 2010-07-21 12:49:45 +02:00
parent 121a7f7840
commit f9253bbb45
3 changed files with 4 additions and 4 deletions

View File

@ -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 \

View File

@ -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 = \

View File

@ -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 \