meson: add variable for mapi_abi.py instead of going back up the tree
[mesa.git] / src / mapi / shared-glapi / meson.build
index 05fd53b7a25c55585109ccd962ff4ce9cc410101..eca2bd29439d86117a13b6776b814433c120b4f7 100644 (file)
@@ -29,7 +29,7 @@ files_mapi_glapi = files(
 
 shared_glapi_mapi_tmp_h = custom_target(
   'shared_glapi_mapi_tmp.h',
-  input : ['../mapi_abi.py', gl_and_es_api_files],
+  input : [mapi_abi_py, gl_and_es_api_files],
   output : 'glapi_mapi_tmp.h',
   command : [prog_python2, '@INPUT0@', '--printer', 'shared-glapi', '@INPUT1@'],
   depend_files : api_xml_files,