diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2023-02-21 13:03:00 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-02-21 15:00:15 +0100 |
commit | b5721a8c7b85601df0d2c1dbefaf96f0ec14e4dd (patch) | |
tree | fe8bbb6f520161b0830f61d884d26b58e473ffd4 | |
parent | bc9482f0e52c718d0a0dab1153d8b2230ce32630 (diff) | |
download | NetworkManager-b5721a8c7b85601df0d2c1dbefaf96f0ec14e4dd.tar.gz |
meson.build: fix build failure with -Dmodem_manager=false
Fix the following build failure with -Dmodem_manager=false raised since
commit 03ba04d4784f ('build: meson: add option to set the
mobile-broadband-provider-info database').
../output-1/build/network-manager-1.40.10/meson.build:1060:0: ERROR: Unknown variable "mobile_broadband_provider_info_database".
http://autobuild.buildroot.org/results/896879c8e8ce022556ee834216ced2f962ff279c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Fixes: 03ba04d4784f ('build: meson: add option to set the mobile-broadband-provider-info database')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1544
(cherry picked from commit 3a3ac89b537c2081b91ba074d52c1fd6685d958c)
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 94d991c0f6..265872cd45 100644 --- a/meson.build +++ b/meson.build @@ -1057,7 +1057,9 @@ output += ' jansson: ' + jansson_msg + '\n' output += ' iptables: ' + config_h.get('IPTABLES_PATH') + '\n' output += ' nft: ' + config_h.get('NFT_PATH') + '\n' output += ' modemmanager-1: ' + enable_modem_manager.to_string() + '\n' -output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' +if enable_modem_manager + output += ' mobile-broadband-provider-info-database: ' + mobile_broadband_provider_info_database + '\n' +endif output += ' ofono: ' + enable_ofono.to_string() + '\n' output += ' concheck: ' + enable_concheck.to_string() + '\n' output += ' libteamdctl: ' + enable_teamdctl.to_string() + '\n' |