diff options
author | midipix <writeonce@midipix.org> | 2016-05-11 10:24:00 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-11 10:24:00 -0400 |
commit | 7a1449b75b15f02fd830f66cd2dc4e190c11ab92 (patch) | |
tree | b1086a06ca5bc087731a0a7cc52c5610e211a8f3 /sysinfo | |
parent | 9c558eed45d42d3660abed5f416328269294d078 (diff) | |
download | pemagine-7a1449b75b15f02fd830f66cd2dc4e190c11ab92.tar.bz2 pemagine-7a1449b75b15f02fd830f66cd2dc4e190c11ab92.tar.xz |
build system: PE targets: handle subsystem setting in pe.mk.
Diffstat (limited to 'sysinfo')
-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) |