diff options
Diffstat (limited to 'lib/mesa/src/mapi/es1api/meson.build')
-rw-r--r-- | lib/mesa/src/mapi/es1api/meson.build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/mesa/src/mapi/es1api/meson.build b/lib/mesa/src/mapi/es1api/meson.build index 8b749b1a3..d0d89b464 100644 --- a/lib/mesa/src/mapi/es1api/meson.build +++ b/lib/mesa/src/mapi/es1api/meson.build @@ -29,12 +29,20 @@ es1_glapi_mapi_tmp_h = custom_target( _es1_c_args = [] if with_platform_windows - _es1_c_args += ['-D_GDI32_', '-DBUILD_GL32'] + _es1_c_args += ['-D_GDI32_'] endif +gles1_def = custom_target( + 'gles1.def', + input: 'gles1.def.in', + output : 'gles1.def', + command : gen_vs_module_defs_normal_command, +) + libglesv1_cm = shared_library( 'GLESv1_CM' + get_option('gles-lib-suffix'), ['../entry.c', es1_glapi_mapi_tmp_h], + vs_module_defs : gles1_def, c_args : [ c_msvc_compat_args, _es1_c_args, @@ -46,7 +54,7 @@ libglesv1_cm = shared_library( link_args : [ld_args_gc_sections], include_directories : [inc_src, inc_include, inc_mapi], link_with : libglapi, - dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl], + dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl, idep_mesautilc11], soversion : host_machine.system() == 'windows' ? '' : '1', version : '1.1.0', darwin_versions : '3.0.0', |