[PATCH 2/4] meson: Slightly simplify jansson soname retrieval



The process for retrieving jansson's soname has been slightly
simplified.
---
 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 1a2d3b97b..ec283a96c 100644
--- a/meson.build
+++ b/meson.build
@@ -188,8 +188,7 @@ config_h.set10('WITH_JANSSON', jansson_dep.found())
 
 if jansson_dep.found()
   jansson_libdir = jansson_dep.get_pkgconfig_variable('libdir')
-  readelf = find_program('readelf', 'readelf')
-  res = run_command(readelf, '-d', join_paths(jansson_libdir, 'libjansson.so'))
+  res = run_command(find_program('eu-readelf', 'readelf'), '-d', join_paths(jansson_libdir, 'libjansson.so'))
   jansson_soname = ''
   foreach line: res.stdout().split('\n')
     if line.strip().contains('SONAME')
-- 
2.15.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]