mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 01:58:59 +08:00
92f6eb402a
* [fribidi] Update to 1.0.10 * [fribidi] Disable tests and executables * [fribidi] Apply FRIBIDI_LIB_STATIC to static builds Co-authored-by: wangli28 <wangli28@beyondsoft.com>
26 lines
802 B
Diff
26 lines
802 B
Diff
diff --git a/lib/meson.build b/lib/meson.build
|
|
index aaf2aed..3fe8937 100644
|
|
--- a/lib/meson.build
|
|
+++ b/lib/meson.build
|
|
@@ -71,6 +71,10 @@ fribidi_sources = [
|
|
'fribidi-shape.c',
|
|
]
|
|
|
|
+libsuffix = []
|
|
+if host_machine.system() == 'windows' and get_option('default_library') == 'static'
|
|
+ libsuffix = 'lib'
|
|
+endif
|
|
libfribidi = library('fribidi',
|
|
fribidi_sources, fribidi_unicode_version_h, fribidi_config_h,
|
|
generated_tab_include_files, config_h,
|
|
@@ -78,7 +82,8 @@ libfribidi = library('fribidi',
|
|
c_args: ['-DHAVE_CONFIG_H', '-DFRIBIDI_BUILD'] + fribidi_static_cargs + visibility_args,
|
|
version: libversion,
|
|
soversion: soversion,
|
|
- install: true)
|
|
+ install: true,
|
|
+ name_suffix: libsuffix)
|
|
|
|
libfribidi_dep = declare_dependency(link_with: libfribidi,
|
|
include_directories: incs,
|