diff options
author | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2020-12-23 11:30:19 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2020-12-23 11:30:19 +0100 |
commit | 768022b98e45d343b540f83816fb65f549eac041 (patch) | |
tree | 1b3adb8e6a657fbd4ecd380d82ee2dc8260597b5 /meson.build | |
parent | 0d5f1dd37c056b4460a460d16fd1fbb06740e891 (diff) | |
download | freetype2-768022b98e45d343b540f83816fb65f549eac041.tar.gz |
meson.build (ft2_defines): Fix builds on Windows.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index c98fea632..d0f5783fe 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 |