mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed minor linker warning for native apps.
Only link against default libraries if TARGET_SDKLIBS is not set. svn path=/trunk/; revision=3680
This commit is contained in:
parent
ae67380311
commit
5294570a8d
1 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: helper.mk,v 1.22 2002/10/26 00:32:19 chorns Exp $
|
||||
# $Id: helper.mk,v 1.23 2002/10/31 00:48:27 ekohl Exp $
|
||||
#
|
||||
# Helper makefile for ReactOS modules
|
||||
# Variables this makefile accepts:
|
||||
|
@ -288,7 +288,7 @@ ifeq ($(TARGET_TYPE),program)
|
|||
endif
|
||||
|
||||
ifeq ($(TARGET_APPTYPE),native)
|
||||
MK_DEFENTRY := _NtProcessStartup
|
||||
MK_DEFENTRY := _NtProcessStartup@4
|
||||
MK_SDKLIBS := ntdll.a
|
||||
TARGET_LFLAGS += -Wl,--subsystem,native -nostartfiles
|
||||
endif
|
||||
|
@ -353,9 +353,14 @@ endif
|
|||
|
||||
ifeq ($(MK_MODE),user)
|
||||
MK_DEFBASE := 0x400000
|
||||
MK_LIBS := $(addprefix $(SDK_PATH_LIB)/, $(MK_SDKLIBS) $(TARGET_SDKLIBS))
|
||||
ifneq ($(TARGET_SDKLIBS),)
|
||||
MK_LIBS := $(addprefix $(SDK_PATH_LIB)/, $(TARGET_SDKLIBS))
|
||||
else
|
||||
MK_LIBS := $(addprefix $(SDK_PATH_LIB)/, $(MK_SDKLIBS))
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(MK_MODE),kernel)
|
||||
MK_DEFBASE := 0x10000
|
||||
MK_LIBS := $(addprefix $(DDK_PATH_LIB)/, $(MK_DDKLIBS) $(TARGET_DDKLIBS))
|
||||
|
|
Loading…
Reference in a new issue