meson: drop duplicate `lib` in lib name
authorEric Engestrom <eric@engestrom.ch>
Sun, 21 Aug 2022 11:58:05 +0000 (12:58 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 Aug 2022 08:35:41 +0000 (08:35 +0000)
The default lib prefix is `lib`, so adding `lib` to the lib name just
results in `liblibbroadcom_v3d.a` for instance.

Those are internal, build-temporary static libraries that end up being
linked into the real user-visible libraries, so it doesn't really
matter, but we might as well just clean up their names anyway.

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18171>

src/broadcom/meson.build
src/freedreno/decode/meson.build

index 2e1145d..2c10e46 100644 (file)
@@ -38,7 +38,7 @@ endif
 per_version_libs = []
 foreach ver : v3d_versions
   per_version_libs += static_library(
-    'libbroadcom-v' + ver,
+    'broadcom-v' + ver,
     [
       files('clif/v3dx_dump.c'),
       v3d_xml_pack
@@ -69,7 +69,7 @@ libv3d_neon = static_library(
 )
 
 libbroadcom_v3d = static_library(
-  'libbroadcom_v3d',
+  'broadcom_v3d',
   [
     files('common/v3d_debug.c', 'common/v3d_device_info.c', 'clif/clif_dump.c', 'common/v3d_util.c'),
     v3d_xml_pack,
index 1d82004..9590ee7 100644 (file)
@@ -56,7 +56,7 @@ libfreedreno_cffdec = static_library(
 
 if dep_libarchive.found()
   libfreedreno_io = static_library(
-    'libfreedreno_io',
+    'freedreno_io',
     [
       'io.c',
       'io.h',