summaryrefslogtreecommitdiff
path: root/src/tools/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-01 13:35:00 +0000
committerCarl Hetherington <cth@carlh.net>2013-07-01 13:35:00 +0000
commitb544cbb8dc45aa2bb878a99da16132264bebbae7 (patch)
tree8830a81e2888c7dfcdc24945cefdcadd35a6b511 /src/tools/wscript
parente6dd32ca6a32f364dafd99b0fe4bbb6119afb9d7 (diff)
Explicitly link with GTK when doing Linux static builds.
Diffstat (limited to 'src/tools/wscript')
-rw-r--r--src/tools/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/wscript b/src/tools/wscript
index 386aa452e..20a92cad2 100644
--- a/src/tools/wscript
+++ b/src/tools/wscript
@@ -16,6 +16,8 @@ def build(bld):
for t in ['dvdomatic', 'dvdomatic_batch', 'servomatic_gui']:
obj = bld(features = 'cxx cxxprogram')
obj.uselib = 'DCP OPENJPEG AVFORMAT AVFILTER AVCODEC AVUTIL SWSCALE POSTPROC CXML WXWIDGETS'
+ if bld.env.STATIC:
+ obj.uselib += ' GTK'
obj.includes = ['..']
obj.use = ['libdvdomatic', 'libdvdomatic-wx']
obj.source = '%s.cc' % t