[fontconfig] fix dynamic linux build (#48682)

This commit is contained in:
Igor Kostenko
2025-12-05 21:08:49 +00:00
committed by GitHub
parent a87356314d
commit 3a3285c487
4 changed files with 8 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ index 1ad1e58..1d9ac14 100644
+ if host_machine.system() == 'windows'
+ default_FcPublic = '__declspec(dllimport)'
+ else
+ default_FcPublic = '__attribute__((visibility(\"default\")))'
+ default_FcPublic = '__attribute__((visibility("default")))'
+ endif
+endif
+fontconfig_h_conf.set('DEFAULT_FCPUBLIC', default_FcPublic)

View File

@@ -1,6 +1,7 @@
{
"name": "fontconfig",
"version": "2.17.1",
"port-version": 1,
"description": "Library for configuring and customizing font access.",
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
"license": "MIT",

View File

@@ -3062,7 +3062,7 @@
},
"fontconfig": {
"baseline": "2.17.1",
"port-version": 0
"port-version": 1
},
"foonathan-lexy": {
"baseline": "2025.5.0",

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "91f5aca0263a76ef0580e8250dcb01c0132f499e",
"version": "2.17.1",
"port-version": 1
},
{
"git-tree": "8aba281b89fc1f50ba3368df651e0b390f03f8c6",
"version": "2.17.1",