summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2025-02-09 11:33:47 +1000
committermio <stigma@disroot.org>2025-03-04 20:44:00 +1000
commit9742e1366e800988acdc6c973c42f311c8af59ce (patch)
tree97464b5b61638064ed026614878496d0ea71d25f /tdecore
parentc5fbd1f8d860194b75536202e9774ea6582ddf39 (diff)
downloadtdelibs-9742e136.tar.gz
tdelibs-9742e136.zip
tdehw: Add libnm dependency
This will ensure that the correct directory is searched by tdehw when looking for VPN service files. Signed-off-by: mio <stigma@disroot.org> (cherry picked from commit 7a30ee518851ecc7d70c4a3c26e54fd12595a911)
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdehw/networkbackends/network-manager/network-manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tdecore/tdehw/networkbackends/network-manager/network-manager.h b/tdecore/tdehw/networkbackends/network-manager/network-manager.h
index e21e2837d..241e83706 100644
--- a/tdecore/tdehw/networkbackends/network-manager/network-manager.h
+++ b/tdecore/tdehw/networkbackends/network-manager/network-manager.h
@@ -18,6 +18,7 @@
#ifndef _TDENETWORKBACKEND_NETWORKMANAGER_H
#define _TDENETWORKBACKEND_NETWORKMANAGER_H
+#include "config.h"
#include "tdenetworkconnections.h"
//====================================================================================================
@@ -142,8 +143,8 @@
#define NM_802_11_DEVICE_CAP_WPA 0x10
#define NM_802_11_DEVICE_CAP_RSN 0x20
//====================================================================================================
-#define NM_PLUGIN_SERVICE_DIR_ETC "/etc/NetworkManager/VPN" // old plugin location
-#define NM_PLUGIN_SERVICE_DIR_LIB "/usr/lib/NetworkManager/VPN" // new plugin location
+#define NM_PLUGIN_SERVICE_DIR_ETC "/etc/NetworkManager/VPN" // old plugin location
+#define NM_PLUGIN_SERVICE_DIR_LIB NM_VPN_SERVICE_DIR // new plugin location
//====================================================================================================
//====================================================================================================