forked from minhngoc25a/freetype2
* meson.build: Fix resource compilation on Windows.
This is copied from GStreamer's meson port of FreeType. (ft2_sources): Add both debug and resource file (the latter for Windows only). (ft2_debug_src): Removed.
This commit is contained in:
parent
69e0faa893
commit
e11cc40a2e
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2021-02-09 Xavier Claessens <xavier.claessens@collabora.com>
|
||||
|
||||
* meson.build: Fix resource compilation on Windows.
|
||||
|
||||
This is copied from GStreamer's meson port of FreeType.
|
||||
|
||||
(ft2_sources): Add both debug and resource file (the latter for
|
||||
Windows only).
|
||||
(ft2_debug_src): Removed.
|
||||
|
||||
2021-02-09 Xavier Claessens <xavier.claessens@collabora.com>
|
||||
|
||||
* meson.build: s/ft2_libtool_version/ft2_pkgconfig_version/.
|
||||
|
|
|
@ -215,11 +215,14 @@ endif
|
|||
# into `ftsystem.c` as well.
|
||||
#
|
||||
if host_machine.system() == 'windows'
|
||||
ft2_debug_src = 'builds/windows/ftdebug.c'
|
||||
winmod = import('windows')
|
||||
ft2_sources += [
|
||||
'builds/windows/ftdebug.c',
|
||||
winmod.compile_resources('src/base/ftver.rc'),
|
||||
]
|
||||
else
|
||||
ft2_debug_src = 'src/base/ftdebug.c'
|
||||
ft2_sources += 'src/base/ftdebug.c'
|
||||
endif
|
||||
ft2_sources += files([ft2_debug_src])
|
||||
|
||||
ft2_deps = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue