summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-10-28 02:15:10 +0100
committerRobin Gareus <robin@gareus.org>2014-10-28 02:15:10 +0100
commitb04414d170bff6d3d7cbfdcedd2dcab917fa3e18 (patch)
treec373438261496bd18f87b85ef1277b9c593cb9d3 /wscript
parent6dc3a4bf61b0b5cd7947af6c5c9099f09c32b934 (diff)
allow to use cairo-image/software surface for canvas & cairowidgets
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index f482bf1e1a..9f0c06b991 100644
--- a/wscript
+++ b/wscript
@@ -716,6 +716,11 @@ def configure(conf):
# TODO put this only where it is needed
conf.env.append_value('LIB', 'regex')
+ # work around GdkDrawable BitBlt performance issue on windows
+ # see http://gareus.org/wiki/ardour_windows_gdk_and_cairo
+ conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
+ conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
+
# Tell everyone that this is a waf build
conf.env.append_value('CFLAGS', '-DWAF_BUILD')