diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-04-21 08:43:18 -0400 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2022-04-24 17:01:56 +0200 |
commit | d59c7ce1b970bfe38b3df161e9dd711b75392709 (patch) | |
tree | 354e46b7d4143d5f99d008280dc75bbafbd414f5 /meson.build | |
parent | 079a22da037835daf5be2bd9eccf7bc1eaa2e783 (diff) | |
download | freetype2-d59c7ce1b970bfe38b3df161e9dd711b75392709.tar.gz |
[meson] Remove `default_library=both` from `default_options`.
It is inconsistent with what all other Meson projects do.
It also prevents static linking to FreeType when it is a subproject because
`default_options` in a subproject takes precedence on values set on the main
project. For example, building 'GStreamer' with `-Ddefault_library=static`
would still dynamically link on FreeType unless the user also sets
`-Dfreetype2:default_library=static`.
* meson.build: Updated.
* .gitlab-ci.yml: Retain `both` option for testing.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 5bf94c30c..a066325b4 100644 --- a/meson.build +++ b/meson.build @@ -25,7 +25,6 @@ project('freetype2', 'c', meson_version: '>= 0.55.0', - default_options: ['default_library=both'], version: run_command('builds/meson/extract_freetype_version.py', 'include/freetype/freetype.h', check: true).stdout().strip(), |