makefiles: Pass --subsystem to the linker also.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-03-19 15:25:19 +01:00
parent 265366c1e7
commit 3d7471570e
8 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
MODULE = fltmgr.sys
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
main.c

View File

@ -1,7 +1,7 @@
MODULE = mountmgr.sys
IMPORTS = uuid advapi32 ntoskrnl
DELAYIMPORTS = user32
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
EXTRAINCL = $(DBUS_CFLAGS) $(HAL_CFLAGS)
EXTRALIBS = $(DISKARBITRATION_LIBS)

View File

@ -1,5 +1,5 @@
MODULE = ndis.sys
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
main.c

View File

@ -1,6 +1,6 @@
MODULE = scsiport.sys
IMPORTS = ntoskrnl
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
scsiport.c

View File

@ -1,5 +1,5 @@
MODULE = tdi.sys
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
main.c

View File

@ -1,7 +1,7 @@
MODULE = usbd.sys
IMPORTLIB = usbd
IMPORTS = ntoskrnl
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
usbd.c

View File

@ -2,7 +2,7 @@ MODULE = winebus.sys
IMPORTS = ntoskrnl setupapi
EXTRALIBS = $(IOKIT_LIBS) $(UDEV_LIBS)
EXTRAINCL = $(UDEV_CFLAGS) $(SDL2_CFLAGS)
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
bus_iohid.c \

View File

@ -1,6 +1,6 @@
MODULE = winehid.sys
IMPORTS = hidclass ntoskrnl
EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRADLLFLAGS = -Wl,--subsystem,native
C_SRCS = \
main.c