From baa6d9491cd3733a891c0c07a92ff42f0bc8b48d Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Sun, 9 Mar 2014 15:26:31 +0100 Subject: build: fix compilation with MinGW-w64 References to WinMM/OLE/UUID were missing. Signed-off-by: wm4 --- wscript | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 57543d66bc..fca0c4903b 100644 --- a/wscript +++ b/wscript @@ -524,6 +524,18 @@ video_output_features = [ 'name': 'gdi', 'desc': 'GDI', 'func': check_cc(lib='gdi32') + } , { + 'name': 'winmm', + 'desc': 'WinMM', + 'func': check_cc(lib='winmm') + } , { + 'name': 'ole', + 'desc': 'OLE', + 'func': check_cc(lib='ole32') + } , { + 'name': 'uuid', + 'desc': 'UUID', + 'func': check_cc(lib='uuid') } , { 'name': '--wayland', 'desc': 'Wayland', @@ -590,7 +602,7 @@ video_output_features = [ } , { 'name': '--gl-win32', 'desc': 'OpenGL Win32 Backend', - 'deps': [ 'gdi' ], + 'deps': [ 'gdi', 'winmm', 'ole', 'uuid' ], 'groups': [ 'gl' ], 'func': check_statement('windows.h', 'wglCreateContext(0)', lib='opengl32') @@ -653,7 +665,7 @@ video_output_features = [ }, { 'name': '--direct3d', 'desc': 'Direct3D support', - 'deps': [ 'gdi' ], + 'deps': [ 'gdi', 'winmm', 'ole', 'uuid' ], 'func': check_cc(header_name='d3d9.h'), } ] -- cgit v1.2.3