diff options
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | panels/network/connection-editor/meson.build | 7 |
2 files changed, 1 insertions, 10 deletions
diff --git a/meson.build b/meson.build index 06aeff832..e1d32f4d7 100644 --- a/meson.build +++ b/meson.build @@ -189,10 +189,6 @@ if host_is_linux dependency('libnma', version: '>= 1.2.0'), dependency('mm-glib', version: '>= 0.7') ] - - network_manager_dep = dependency('NetworkManager') - nm_vpn_config_dir = join_paths(network_manager_dep.get_pkgconfig_variable('configdir'), 'VPN') - nm_vpn_module_dir = network_manager_dep.get_pkgconfig_variable('plugindir') endif config_h.set('BUILD_NETWORK', host_is_linux, description: 'Define to 1 to build the Network panel') diff --git a/panels/network/connection-editor/meson.build b/panels/network/connection-editor/meson.build index 86913dc02..616bafdb1 100644 --- a/panels/network/connection-editor/meson.build +++ b/panels/network/connection-editor/meson.build @@ -37,16 +37,11 @@ sources += gnome.compile_resources( export: true ) -ce_cflags = cflags + [ - '-DNM_VPN_CONFIG_DIR="@0@"'.format(nm_vpn_config_dir), - '-DNM_VPN_MODULE_DIR="@0@"'.format(nm_vpn_module_dir) -] - libconnection_editor = static_library( name, sources: sources, include_directories: [top_inc, wireless_security_inc], dependencies: deps, - c_args: ce_cflags, + c_args: cflags, link_with: libwireless_security ) |