-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1688 from JohanMabille/fontconfig_without_threads
Build fontconfig without thread support
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
recipes/recipes_emscripten/fontconfig/patches/0001-disable-threads.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/meson.build b/meson.build | ||
index 08d9532..fae3333 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -289,12 +289,6 @@ if fc_cachedir in ['yes', 'no', 'default'] | ||
endif | ||
endif | ||
|
||
-if host_machine.system() != 'windows' | ||
- thread_dep = dependency('threads') | ||
- conf.set('HAVE_PTHREAD', 1) | ||
- deps += [thread_dep] | ||
-endif | ||
- | ||
fc_templatedir = get_option('template-dir') | ||
if fc_templatedir in ['default', 'yes', 'no'] | ||
fc_templatedir = prefix / get_option('datadir') / 'fontconfig/conf.avail' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters