mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 01:59:00 +08:00
[fontconfig] Enable WebAssembly atomics and bulk-memory (#41238)
This commit is contained in:
parent
6e8b114e0e
commit
2b4200d3f2
14
ports/fontconfig/fix-wasm-shared-memory-atomics.patch
Normal file
14
ports/fontconfig/fix-wasm-shared-memory-atomics.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 8e78700..95bae59 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -112,6 +112,9 @@ check_alignofs = [
|
||||
]
|
||||
|
||||
add_project_arguments('-DHAVE_CONFIG_H', language: 'c')
|
||||
+if cc.get_id() == 'clang' and host_machine.cpu_family() == 'wasm'
|
||||
+ add_project_arguments('-matomics', '-mbulk-memory', language: 'c')
|
||||
+endif
|
||||
|
||||
c_args = []
|
||||
|
@ -8,6 +8,7 @@ vcpkg_from_gitlab(
|
||||
PATCHES
|
||||
no-etc-symlinks.patch
|
||||
libgetopt.patch
|
||||
fix-wasm-shared-memory-atomics.patch
|
||||
)
|
||||
|
||||
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/gperf")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "fontconfig",
|
||||
"version": "2.15.0",
|
||||
"port-version": 1,
|
||||
"description": "Library for configuring and customizing font access.",
|
||||
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
|
||||
"license": "MIT",
|
||||
|
@ -2858,7 +2858,7 @@
|
||||
},
|
||||
"fontconfig": {
|
||||
"baseline": "2.15.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"foonathan-lexy": {
|
||||
"baseline": "2022.12.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "443f2cc8005cd715e8786521c1c2cd990a1320a8",
|
||||
"version": "2.15.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "2a11e54fe49673d52f0c4d2df73870f36a228990",
|
||||
"version": "2.15.0",
|
||||
|
Loading…
Reference in New Issue
Block a user