summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/cairo.in4
-rw-r--r--rules/cairo.make2
2 files changed, 5 insertions, 1 deletions
diff --git a/rules/cairo.in b/rules/cairo.in
index 7089dec7b..200d89261 100644
--- a/rules/cairo.in
+++ b/rules/cairo.in
@@ -72,6 +72,10 @@ config CAIRO_PNG
bool
prompt "PNG support"
+config CAIRO_SCRIPT
+ bool
+ prompt "script surface"
+
if CAIRO_GL || CAIRO_GLES2
config CAIRO_GLX
diff --git a/rules/cairo.make b/rules/cairo.make
index 6d2f05272..e9e395b26 100644
--- a/rules/cairo.make
+++ b/rules/cairo.make
@@ -71,7 +71,7 @@ CAIRO_CONF_OPT := \
--$(call ptx/endis, PTXCONF_CAIRO_EGL)-egl \
--$(call ptx/endis, PTXCONF_CAIRO_GLX)-glx \
--disable-wgl \
- --disable-script \
+ --$(call ptx/endis, PTXCONF_CAIRO_SCRIPT)-script \
--$(call ptx/endis, PTXCONF_CAIRO_FREETYPE)-ft \
--$(call ptx/endis, PTXCONF_CAIRO_FREETYPE)-fc \
--$(call ptx/endis, PTXCONF_CAIRO_PS)-ps \