Skip to contentSkip to conversation

contrib: gconv: Don't clobber gconv-modules on install

PATCH New John Ernberg 1 participant 1 message Sep 18

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 contrib: gconv: Don't clobber gconv-modules on install

Since glibc 2.34 the gconv-modules can be installed in a subdirectory called gconv-modules.d to make it easier for 3rd party projects to add their own definitions.

Keep the gconv-modules filename as is in the repository to keep the structure self-documenting.

---

glibc 2.34 was released in 2021
meson 0.46.0 (added rename directive in install_data()) was released in 2018

contrib/gconv/meson.build renamed from contrib/gconv/meson.build.old +1 -1
@@ -41,4 +41,4 @@
 
 dep_en300_468_tab00 = declare_dependency(link_with : en300_468_tab00)
 
-install_data('gconv-modules', install_dir : gconv_install_dir)
+install_data('gconv-modules', install_dir : gconv_install_dir, rename : [ 'gconv-modules.d/v4l.conf' ])