Mesa (master): meson: rename libnir to _libnir to make it clear it's not meant to be used anywhere else

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 7 20:50:18 UTC 2019


Module: Mesa
Branch: master
Commit: 7a1dc6ab446ed027997acf6fe45e0c599519e320
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a1dc6ab446ed027997acf6fe45e0c599519e320

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed Sep 25 00:44:21 2019 +0100

meson: rename libnir to _libnir to make it clear it's not meant to be used anywhere else

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

---

 src/compiler/nir/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build
index 1da26ef561c..ab4db9a8b0d 100644
--- a/src/compiler/nir/meson.build
+++ b/src/compiler/nir/meson.build
@@ -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')




More information about the mesa-commit mailing list