Commit 6ebcc54a authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Explicitly import all the needed libraries.

Don't rely on winegcc adding any default libraries. Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ce9d006a
MODULE = krnl386.exe16
IMPORTLIB = kernel
IMPORTS = kernel32 ntdll winecrt0
DELAYIMPORTS = user32
EXTRADLLFLAGS = -m16 -nodefaultlibs -Wb,--dll-name,kernel
EXTRADLLFLAGS = -m16 -Wb,--dll-name,kernel
C_SRCS = \
atom.c \
......
......@@ -1321,10 +1321,6 @@ static void build(struct options* opts)
}
add_library(opts, lib_dirs, &files, "advapi32");
add_library(opts, lib_dirs, &files, "user32");
}
if (!opts->nodefaultlibs && !opts->unix_lib)
{
add_library(opts, lib_dirs, &files, "winecrt0");
if (opts->use_msvcrt)
{
......
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