Only embed manifest in GUI applications
This commit is contained in:
parent
8df97af5fe
commit
40724c4963
@ -434,14 +434,17 @@
|
||||
the LIBDIRNAME and not any wx libraries installed system-wide.
|
||||
-->
|
||||
<ldlibs cond="FORMAT=='autoconf'">$(WX_LDFLAGS)</ldlibs>
|
||||
<res-define>$(WIN32_DPI_MANIFEST)</res-define>
|
||||
<ldflags>$(WIN32_DPI_LINKFLAG)</ldflags>
|
||||
<if cond="FORMAT=='msvc'">
|
||||
<ldflags>$(LINK_TARGET_CPU)</ldflags>
|
||||
<define>$(TARGET_CPU_COMPFLAG)</define>
|
||||
</if>
|
||||
</template>
|
||||
|
||||
<template id="wx_dpi">
|
||||
<res-define>$(WIN32_DPI_MANIFEST)</res-define>
|
||||
<ldflags>$(WIN32_DPI_LINKFLAG)</ldflags>
|
||||
</template>
|
||||
|
||||
<template id="anylib">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<install-to>$(LIBDIR)</install-to>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<define>$(DLLFLAG)</define>
|
||||
</template>
|
||||
|
||||
<template id="wx_util" template="wx_util_b">
|
||||
<template id="wx_util" template="wx_util_b,wx_dpi">
|
||||
<app-type>gui</app-type>
|
||||
<!-- resource files includes: -->
|
||||
<include>$(SRCDIR)/$(WXTOPDIR)samples</include>
|
||||
|
Loading…
Reference in New Issue
Block a user