From 839fb448c6cdd718d35c4b0860539f114900a106 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 11 May 2016 10:24:00 -0400 Subject: build system: PE targets: handle subsystem setting in pe.mk. --- sysinfo/os/pe.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysinfo/os/pe.mk b/sysinfo/os/pe.mk index abc76e8..ab7b79f 100644 --- a/sysinfo/os/pe.mk +++ b/sysinfo/os/pe.mk @@ -5,6 +5,9 @@ LDFLAGS_SHARED += $(LDFLAGS_IMPLIB) LDFLAGS_SHARED += -Wl,-soname LDFLAGS_SHARED += -Wl,$(DSO_SONAME) +PE_SUBSYSTEM ?= windows +LDFLAGS_COMMON += -Wl,--subsystem=$(PE_SUBSYSTEM) + implib: implib-ver package-implib-soname package-implib-solink implib-ver: shared-lib $(IMPLIB_VER) -- cgit v1.2.3