[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 768022b: meson.build (ft2_defines): Fix builds on Win
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 768022b: meson.build (ft2_defines): Fix builds on Windows. |
Date: |
Wed, 23 Dec 2020 05:31:22 -0500 (EST) |
branch: master
commit 768022b98e45d343b540f83816fb65f549eac041
Author: Ignacio Casal Quinteiro <qignacio@amazon.com>
Commit: Werner Lemberg <wl@gnu.org>
meson.build (ft2_defines): Fix builds on Windows.
---
ChangeLog | 4 ++++
meson.build | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index d3dca8c..116c526 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-23 Ignacio Casal Quinteiro <qignacio@amazon.com>
+
+ meson.build (ft2_defines): Fix builds on Windows.
+
2020-12-18 Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
[autofit] Fix double division in stem darkening.
diff --git a/meson.build b/meson.build
index c98fea6..d0f5783 100644
--- a/meson.build
+++ b/meson.build
@@ -302,6 +302,10 @@ ft2_sources += ftoption_h
# Studio does).
ft2_defines += ['-DFT2_BUILD_LIBRARY=1']
+if host_machine.system() == 'windows'
+ ft2_defines += ['-DDLL_EXPORT=1']
+endif
+
# Ensure that the `ftoption.h` file generated above will be used to build
# FreeType. Unfortunately, and very surprisingly, configure_file() does not
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 768022b: meson.build (ft2_defines): Fix builds on Windows.,
Werner LEMBERG <=