configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 402f865aff96c192f257bac4dc212ce937bcee84
Author: Luboš Luňák <[email protected]>
AuthorDate: Wed Apr 14 21:43:43 2021 +0200
Commit: Luboš Luňák <[email protected]>
CommitDate: Wed Apr 14 22:26:53 2021 +0200
disable Skia if --disable -gui
There are link errors because of SkiaZone, and Skia is not even
linked in for non-GUI.
Change-Id: I942dbf79c2012b5dfd4259a7c4ecc680500174b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114111
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <[email protected]>
diff --git a/configure.ac b/configure.ac
index 46bee5224ce4..3a4d0eb795ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11702,7 +11702,7 @@ AC_SUBST(POPPLER_LIBS)
# Skia?
AC_MSG_CHECKING([whether to build Skia])
ENABLE_SKIA=
-if test "$enable_skia" != "no" -a "$build_skia" = "yes"; then
+if test "$enable_skia" != "no" -a "$build_skia" = "yes" -a -z "$DISABLE_GUI";
then
if test "$enable_skia" = "debug"; then
AC_MSG_RESULT([yes (debug)])
ENABLE_SKIA_DEBUG=TRUE
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits