diff options
author | Stefan Becker <chemobejk@gmail.com> | 2019-06-27 12:22:53 +0300 |
---|---|---|
committer | Stefan Becker <chemobejk@gmail.com> | 2019-06-27 19:52:31 +0300 |
commit | d4bc4fa35b5ea745195d116e1329fac6ad28dd5b (patch) | |
tree | 086e2df18d190361d08da70ac3fd53dae07abc91 /meson_options.txt | |
parent | 7b4b46f97c2d37da38eba4637dcf040105269772 (diff) | |
download | libnice-d4bc4fa35b5ea745195d116e1329fac6ad28dd5b.tar.gz |
build: make prefix option accept a list of strings
The parameter for the ignored network interface prefix build option
accepts a comma-separated string now. This list will be converted to a
comma-separated list of string literals for the C code.
Disable the feature:
./configure ...
./configure --with-ignored-network-interface-prefix= ...
meson setup -D ignored-network-interface-prefix= ...
meson setup -D ignored-network-interface-prefix=[] ...
Ignore interfaces whose names start with "virbr":
./configure --with-ignored-network-interface-prefix=virbr ...
meson setup -D ignored-network-interface-prefix=virbr ...
Ignore interfaces whose names start with "virbr" or "veth":
./configure --with-ignored-network-interface-prefix=virbr,veth ...
meson setup -D ignored-network-interface-prefix=virbr,veth ...
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt index d3a0ab9..9f9f7d6 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -2,8 +2,8 @@ option('gupnp', type: 'feature', value: 'auto', description: 'Enable or disable GUPnP IGD support') option('gstreamer', type: 'feature', value: 'auto', description: 'Enable or disable build of GStreamer plugins') -option('ignored-network-interface-prefix', type: 'string', value: '', - description: 'Ignore network interfaces whose name starts with this string in the ICE connection check algorithm. For example, "virbr" to ignore virtual bridge interfaces added by virtd, which do not help in finding connectivity.') +option('ignored-network-interface-prefix', type: 'array', value: [], + description: 'Ignore network interfaces whose name starts with a string from this list in the ICE connection check algorithm. For example, "virbr" to ignore virtual bridge interfaces added by virtd, which do not help in finding connectivity.') option('crypto-library', type: 'combo', choices : ['auto', 'gnutls', 'openssl'], value : 'auto') # Common feature options |