1
mirror of https://github.com/mpv-player/mpv synced 2024-10-26 07:22:17 +02: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' ],
'func': check_statement(['EGL/egl.h'],
'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++'])
} , {
'name': '--vdpau',