summaryrefslogtreecommitdiff
path: root/scp2/source/ooo/file_library_ooo.scp
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/source/ooo/file_library_ooo.scp')
-rw-r--r--scp2/source/ooo/file_library_ooo.scp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp
index fea46d3e6289..50bfdaf55c49 100644
--- a/scp2/source/ooo/file_library_ooo.scp
+++ b/scp2/source/ooo/file_library_ooo.scp
@@ -569,7 +569,10 @@ End
#ifndef LIBO_HEADLESS
-#ifndef SYSTEM_CAIRO
+#if !defined SYSTEM_CAIRO \
+ && (defined ENABLE_CAIRO_CANVAS \
+ || (ENABLE_LIBRSVG && !defined SYSTEM_LIBRSVG) \
+ || (defined WNT && !defined ENABLE_DIRECTX))
File gid_File_Lib_Cairo
LIB_FILE_BODY;