diff options
author | midipix <writeonce@midipix.org> | 2016-05-11 10:24:00 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-11 10:33:51 -0400 |
commit | f942a18bf39249bee53f8eee7cba5c7819224a81 (patch) | |
tree | f29ba38621665b5885f1c78078c40535715579a4 /sysinfo/os | |
parent | 0e145cca98499470775987841bd661e87704f946 (diff) | |
download | apimagic-f942a18bf39249bee53f8eee7cba5c7819224a81.tar.bz2 apimagic-f942a18bf39249bee53f8eee7cba5c7819224a81.tar.xz |
build system: PE targets: handle subsystem setting in pe.mk.
Diffstat (limited to 'sysinfo/os')
-rw-r--r-- | sysinfo/os/pe.mk | 3 |
1 files changed, 3 insertions, 0 deletions
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) |