summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-10-31 17:56:16 -0400
committermidipix <writeonce@midipix.org>2015-10-31 18:07:28 -0400
commit79e98b6ff6e1ea4d137385df9eb604a9ea5e7aad (patch)
tree808f917a28366c6d129f62402e9ad099ff0a5d9c /project
parent9ebf953354026107b45a6107f01950ea2fdc1af6 (diff)
downloadntapi-79e98b6ff6e1ea4d137385df9eb604a9ea5e7aad.tar.bz2
ntapi-79e98b6ff6e1ea4d137385df9eb604a9ea5e7aad.tar.xz
build system: direct linker invocation: fix subsystem support.
Diffstat (limited to 'project')
-rw-r--r--project/overrides.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/project/overrides.mk b/project/overrides.mk
index 2641556..2a67ff9 100644
--- a/project/overrides.mk
+++ b/project/overrides.mk
@@ -1,2 +1,6 @@
# direct linker invocation
LDFLAGS_SYSROOT = $(CFLAGS_SYSROOT)
+
+ifneq ($(PE_SUBSYSTEM)x,x)
+ LDFLAGS_COMMON += --subsystem=$(PE_SUBSYSTEM)
+endif