diff options
author | Hans-Kristian Arntzen <maister@archlinux.us> | 2014-03-09 15:26:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-11 00:20:53 +0100 |
commit | 7a645ba62fe10df2de147a8d5bb0bc9929f5f014 (patch) | |
tree | efada83952ae28f1b7a93a4baeaefae66aec7a54 | |
parent | 63afe3eb98750fe14ef677c62c2926e8acbb30bb (diff) | |
download | mpv-7a645ba62fe10df2de147a8d5bb0bc9929f5f014.tar.bz2 mpv-7a645ba62fe10df2de147a8d5bb0bc9929f5f014.tar.xz |
build: fix compilation with MinGW-w64
References to WinMM/OLE/UUID were missing.
Signed-off-by: wm4 <wm4@nowhere>
-rw-r--r-- | wscript | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -505,6 +505,18 @@ video_output_features = [ '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', 'func': check_pkg_config('wayland-client', '>= 1.3.0', @@ -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'), } ] |