Commita2b61827Recorded11 Nov 2026Repositorysigil-fontconfig
Use the runtime Fontconfig SONAME on Linux
Changed
NEWS.md | 3 +++
package.sgl | 2 +-
src/sigil/fontconfig.sgl | 5 ++++-
3 files changed, 8 insertions(+), 2 deletions(-)Diff
NEWS.mdadded
@@ -0,0 +1,3 @@
+1
# 0.9.1+2
+3
Load the runtime SONAME on Linux, so the binding works without development packages.package.sglmodified
@@ -1,7 +1,7 @@
1
;;; Font discovery through the system Fontconfig library. 2
(package 3
name: "sigil-fontconfig"−4
version: "0.9.0"+4
version: "0.9.1" 5
sigil: "0.24.5" 6
description: "Fontconfig font discovery bindings for Sigil" 7
url: "https://git.usesigil.org/sigil/sigil-fontconfig"src/sigil/fontconfig.sglmodified
@@ -22,7 +22,10 @@
22
(define library-failure #f) 23
(define library 24
(guard (failure (#t (set! library-failure failure) #f))−25
(c-library "libfontconfig")))+25
(c-library+26
(cond-expand+27
(linux "libfontconfig.so.1")+28
(else "libfontconfig"))))) 29
(define (native-function name arguments result) 30
(if library 31
(c-function library name arguments result)