wxWidgets/samples/stc/stctest.bkl
Vadim Zeitlin 123a1e3cea Fix linking stc sample when using monolithic static library
Append "-limm32" after the monolithic library, otherwise it's not taken
into account when the linker encounters it because there is no
dependency on it yet.

This should finally complete 68feb3e7ff (Fix linking monolithic wxMSW
DLL after STC IME changes, 2020-05-31).

See https://github.com/wxWidgets/wxWidgets/pull/1852

Closes #18776.
2020-10-16 02:36:46 +02:00

36 lines
809 B
XML

<?xml version="1.0" ?>
<makefile>
<include file="../../build/bakefiles/common_samples.bkl"/>
<template id="stc_append" template="wx_append">
<if cond="OUT_OF_TREE_MAKEFILES=='0'">
<sys-lib>$(LIB_SCINTILLA)</sys-lib>
<ldlibs>$(EXTRALIBS_STC)</ldlibs>
</if>
</template>
<exe id="stctest" template="wx_sample" template_append="stc_append">
<sources>
stctest.cpp
edit.cpp
prefs.cpp
</sources>
<headers>
edit.h
defsext.h
prefs.h
</headers>
<wx-lib>stc</wx-lib>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
</exe>
<wx-data id="data">
<files>
stctest.cpp
</files>
</wx-data>
</makefile>