1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

wscript: add ANGLE_EXPORT definition

It always needed when linking ANGLE libs
This commit is contained in:
shinchiro 2016-12-03 06:47:17 +08:00 committed by wm4
parent 796b48b2a3
commit 5544ffecd9

View File

@ -742,7 +742,7 @@ video_output_features = [
'groups': [ 'gl' ], 'groups': [ 'gl' ],
'func': check_statement(['EGL/egl.h'], 'func': check_statement(['EGL/egl.h'],
'eglCreateWindowSurface(0, 0, 0, 0)', 'eglCreateWindowSurface(0, 0, 0, 0)',
cflags="-DGL_APICALL= -DEGLAPI= -DANGLE_NO_ALIASES", cflags="-DGL_APICALL= -DEGLAPI= -DANGLE_NO_ALIASES -DANGLE_EXPORT=",
lib=['EGL', 'GLESv2', 'dxguid', 'd3d9', 'gdi32', 'stdc++']) lib=['EGL', 'GLESv2', 'dxguid', 'd3d9', 'gdi32', 'stdc++'])
} , { } , {
'name': '--vdpau', 'name': '--vdpau',