From 7a645ba62fe10df2de147a8d5bb0bc9929f5f014 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 6364400818..59bde8b703 100644 --- a/wscript +++ b/wscript @@ -504,6 +504,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', @@ -570,7 +582,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') @@ -633,7 +645,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