summaryrefslogtreecommitdiff
path: root/Ports/fontconfig
diff options
context:
space:
mode:
authorSahan Fernando <sahan.h.fernando@gmail.com>2022-01-22 00:54:01 +1100
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-01-24 07:55:39 +0000
commit9d97902081d24c5bda4f80a6c494cb70f6766908 (patch)
tree2e8f0e9f121454c2228ea7792476cb412f903033 /Ports/fontconfig
parent62192c88a6445a736e9948b8d2c890260da5d055 (diff)
downloadserenity-9d97902081d24c5bda4f80a6c494cb70f6766908.zip
Ports: Add link flags to pkgconfig file installed by fontconfig port
Diffstat (limited to 'Ports/fontconfig')
-rw-r--r--Ports/fontconfig/patches/pkgconfig.in.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ports/fontconfig/patches/pkgconfig.in.patch b/Ports/fontconfig/patches/pkgconfig.in.patch
new file mode 100644
index 0000000000..0b8d392fc4
--- /dev/null
+++ b/Ports/fontconfig/patches/pkgconfig.in.patch
@@ -0,0 +1,10 @@
+--- fontconfig-2.13.94/fontconfig.pc.in 2022-01-22 00:48:25.582046535 +1100
++++ fontconfig-2.13.94/fontconfig.pc.in 2022-01-22 00:48:10.821896885 +1100
+@@ -13,6 +13,6 @@
+ Version: @VERSION@
+ Requires: @PKGCONFIG_REQUIRES@
+ Requires.private: @PKGCONFIG_REQUIRES_PRIVATELY@
+-Libs: -L${libdir} -lfontconfig
++Libs: -L${libdir} -lfontconfig -lxml2 -ldl
+ Libs.private: @ICONV_LIBS@ @PKG_EXPAT_LIBS@
+ Cflags: -I${includedir} @ICONV_CFLAGS@ @PKG_EXPAT_CFLAGS@