about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-03-07 14:41:59 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-03-07 14:41:59 +0100
commitb51bdf3d5ee213cbbaa689bc7cf848f006041df7 (patch)
tree14823e3aafa3daecee54d6f471ed2a141941d0c5 /src
parentc8ca7876c3462a0a1d2ac0bffe654ccc4bf40ef7 (diff)
downloadbox64-b51bdf3d5ee213cbbaa689bc7cf848f006041df7.tar.gz
box64-b51bdf3d5ee213cbbaa689bc7cf848f006041df7.zip
[NOGTK] libpangoft2 is also part of the gtk family
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/wrappedpangoft2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wrapped/wrappedpangoft2.c b/src/wrapped/wrappedpangoft2.c
index fff605ea..4734196c 100644
--- a/src/wrapped/wrappedpangoft2.c
+++ b/src/wrapped/wrappedpangoft2.c
@@ -14,6 +14,10 @@
 const char* pangoft2Name = "libpangoft2-1.0.so.0";
 #define LIBNAME pangoft2
 
+#define PRE_INIT    \
+    if(box64_nogtk) \
+        return -1;
+
 #define NEEDED_LIBS "libfontconfig.so.1", "libfreetype.so.6"
 
 #include "wrappedlib_init.h"