diff options
author | midipix <writeonce@midipix.org> | 2016-05-11 10:24:00 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:45 -0500 |
commit | a21236b22bddcfc40d13b263762e57a31bb32df1 (patch) | |
tree | 13efd5e7b06d1117d48a16c03dee40e98513c072 | |
parent | 4ec48531d635ccd1238e54ab43f32281c84b1473 (diff) | |
download | mdso-a21236b22bddcfc40d13b263762e57a31bb32df1.tar.bz2 mdso-a21236b22bddcfc40d13b263762e57a31bb32df1.tar.xz |
build system: PE targets: handle subsystem setting in pe.mk.
-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) |