Try to fix static linking of DCP-o-matic libs with the GL stuff.
authorCarl Hetherington <cth@carlh.net>
Sun, 12 May 2019 20:22:44 +0000 (21:22 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 12 May 2019 20:22:44 +0000 (21:22 +0100)
src/tools/wscript

index 80254b0b94c0fd572f734d9aa27c8a246e14c407..bb26bbb5e8924cf8a4472a1418c0e84f24b06976 100644 (file)
@@ -63,7 +63,7 @@ def build(bld):
         obj.uselib = uselib
         if bld.env.BUILD_STATIC or bld.env.TARGET_LINUX:
             obj.uselib += ' GTK'
-        obj.uselib += ' WXWIDGETS'
+        obj.uselib += ' WXWIDGETS GL GLU'
         obj.includes = ['..']
         obj.use    = ['libdcpomatic2', 'libdcpomatic2-wx']
         obj.source = '%s.cc' % t