meson: rename libnir to _libnir to make it clear it's not meant to be used anywhere...
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 24 Sep 2019 23:44:21 +0000 (00:44 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 7 Oct 2019 20:49:40 +0000 (21:49 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/compiler/nir/meson.build

index 1da26ef561cbc4e0c2cc6ef9d582e8c036809087..ab4db9a8b0d54c6b7489e34f8a82ba02a06a194b 100644 (file)
@@ -238,7 +238,7 @@ files_libnir = files(
   '../spirv/vtn_variables.c',
 )
 
-libnir = static_library(
+_libnir = static_library(
   'nir',
   [files_libnir, spirv_info_c, nir_opt_algebraic_c, nir_opcodes_c,
    nir_opcodes_h, nir_constant_expressions_c, nir_builder_opcodes_h,
@@ -258,7 +258,7 @@ idep_nir_headers = declare_dependency(
 # Also link with nir
 idep_nir = declare_dependency(
   dependencies : idep_nir_headers,
-  link_with : libnir,
+  link_with : _libnir,
 )
 
 nir_algebraic_py = files('nir_algebraic.py')