From d9d9414b4ec7d64ac6fd61b168454c9e717c8459 Mon Sep 17 00:00:00 2001 From: awiouy Date: Sun, 11 Feb 2018 23:13:53 +0100 Subject: [PATCH] cairo: also build without weston or x11 --- packages/graphics/cairo/package.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/graphics/cairo/package.mk b/packages/graphics/cairo/package.mk index 17e708bdfb..0ef9d6941c 100644 --- a/packages/graphics/cairo/package.mk +++ b/packages/graphics/cairo/package.mk @@ -57,6 +57,14 @@ elif [ "$DISPLAYSERVER" = "weston" ]; then --enable-glesv2 \ --enable-egl \ --without-x" +else + PKG_CAIRO_CONFIG="--disable-xlib \ + --disable-xlib-xrender \ + --disable-gl \ + --disable-glx \ + --disable-glesv2 \ + --disable-egl \ + --without-x" fi PKG_CONFIGURE_OPTS_TARGET="$PKG_CAIRO_CONFIG \