diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-04-14 21:43:43 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-04-14 22:26:53 +0200 |
commit | 402f865aff96c192f257bac4dc212ce937bcee84 (patch) | |
tree | eff2a5e0987985f5b1c4748f06df4c2523f8522f /configure.ac | |
parent | 846c0c9e861534275c524c2571ab2e7af861892b (diff) |
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 <l.lunak@collabora.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 |