Meson changes to build LiteXL
This commit is contained in:
parent
abfd7f5876
commit
0bc333f57d
|
@ -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']
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue