Skip to content

Commit

Permalink
Merge pull request #1688 from JohanMabille/fontconfig_without_threads
Browse files Browse the repository at this point in the history
Build fontconfig without thread support
  • Loading branch information
JohanMabille authored Jan 20, 2025
2 parents e3d3c97 + ceb393e commit c3a1b3a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
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'
4 changes: 3 additions & 1 deletion recipes/recipes_emscripten/fontconfig/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ source:
url: http://www.freedesktop.org/software/${{ name }}/release/${{ name }}-${{ version
}}.tar.gz
sha256: f5f359d6332861bd497570848fcb42520964a9e83d5e3abe397b6b6db9bcaaf4
patches:
- patches/0001-disable-threads.patch

build:
number: 0
number: 1

requirements:
build:
Expand Down

0 comments on commit c3a1b3a

Please sign in to comment.