mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
ref_gl/gl4es: fix android build
This commit is contained in:
parent
341e440c07
commit
bb387cfe4b
@ -112,7 +112,7 @@ def build(bld):
|
|||||||
features = 'c',
|
features = 'c',
|
||||||
includes = ['gl4es/src', 'gl4es/src/gl', 'gl4es/src/glx', 'gl4es/include'],
|
includes = ['gl4es/src', 'gl4es/src/gl', 'gl4es/src/glx', 'gl4es/include'],
|
||||||
defines = ['NOX11', 'NO_GBM', 'NO_INIT_CONSTRUCTOR', 'DEFAULT_ES=2', 'NOEGL', 'EXTERNAL_GETPROCADDRESS=GL4ES_GetProcAddress', 'NO_LOADER', 'STATICLIB'],
|
defines = ['NOX11', 'NO_GBM', 'NO_INIT_CONSTRUCTOR', 'DEFAULT_ES=2', 'NOEGL', 'EXTERNAL_GETPROCADDRESS=GL4ES_GetProcAddress', 'NO_LOADER', 'STATICLIB'],
|
||||||
cflags = ['-w', '-fvisibility=hidden', '-std=c99'],
|
cflags = ['-w', '-fvisibility=hidden', '-std=gnu99'],
|
||||||
use = libs,
|
use = libs,
|
||||||
subsystem = bld.env.MSVC_SUBSYSTEM)
|
subsystem = bld.env.MSVC_SUBSYSTEM)
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ def build(bld):
|
|||||||
target = 'ref_gles2_gl4es',
|
target = 'ref_gles2_gl4es',
|
||||||
features = 'c',
|
features = 'c',
|
||||||
includes = includes,
|
includes = includes,
|
||||||
use = libs + ['DL', 'gl4es'],
|
use = libs + ['DL', 'gl4es', 'LOG'],
|
||||||
defines = ['XASH_GL4ES', 'XASH_GL_STATIC'],
|
defines = ['XASH_GL4ES', 'XASH_GL_STATIC'],
|
||||||
install_path = bld.env.LIBDIR,
|
install_path = bld.env.LIBDIR,
|
||||||
subsystem = bld.env.MSVC_SUBSYSTEM)
|
subsystem = bld.env.MSVC_SUBSYSTEM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user