mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 11:50:29 +01:00
meson: Slightly simplify jansson soname retrieval
The process for retrieving jansson's soname has been slightly simplified. https://mail.gnome.org/archives/networkmanager-list/2018-January/msg00054.html
This commit is contained in:
parent
34cb6f9877
commit
4fc4c16092
1 changed files with 1 additions and 2 deletions
|
|
@ -187,8 +187,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')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue