Meson changes to build LiteXL

This commit is contained in:
George Sokianos 2023-01-29 17:57:21 +00:00
parent abfd7f5876
commit 0bc333f57d
2 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,7 @@ if not get_option('source-only')
default_options: default_fallback_options + ['default_library=static', 'grep=false', 'test=false']
)
freetype_dep = dependency('freetype2', fallback: ['freetype2', 'freetype_dep'],
freetype_dep = dependency('freetype2', fallback: ['freetype_dep', 'freetype'],
default_options: default_fallback_options + ['default_library=static', 'zlib=disabled', 'bzip2=disabled', 'png=disabled', 'harfbuzz=disabled', 'brotli=disabled']
)

View File

@ -68,6 +68,8 @@ get_platform_name() {
echo "macos"
elif [[ "$OSTYPE" == "linux"* || "$OSTYPE" == "freebsd"* ]]; then
echo "linux"
elif [[ "$OSTYPE" == "haiku" ]]; then
echo "haiku"
else
echo "UNSUPPORTED-OS"
fi