diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2022-01-09 19:13:00 +0100 |
---|---|---|
committer | Luca Weiss <luca@z3ntu.xyz> | 2022-01-09 19:13:01 +0100 |
commit | 191d5aeac6e44525f49db010d0613e40041750d0 (patch) | |
tree | 948a6304423676b1527dd9534bfb71145efaba4e | |
parent | fb9defb0e0b95c5f6ec85451f286903c4b2fc663 (diff) | |
download | ayatana-indicator-keyboard-191d5aeac6e44525f49db010d0613e40041750d0.tar.gz ayatana-indicator-keyboard-191d5aeac6e44525f49db010d0613e40041750d0.tar.bz2 ayatana-indicator-keyboard-191d5aeac6e44525f49db010d0613e40041750d0.zip |
Try to dlopen .so.0 instead of .so
Some distributions do not provide a .so symlink in the default package,
and in case there are major breaking changes (.so.1) then the code
likely needs to get adjusted anyways.
-rw-r--r-- | src/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 6d1452da..73f61065 100644 --- a/src/service.c +++ b/src/service.c @@ -409,11 +409,11 @@ static void onDispose(GObject *pObject) static void indicator_keyboard_service_init(IndicatorKeyboardService *self) { - gchar *sLib = "libayatana-keyboard-x11.so"; + gchar *sLib = "libayatana-keyboard-x11.so.0"; if (ayatana_common_utils_is_lomiri()) { - sLib = "libayatana-keyboard-lomiri.so"; + sLib = "libayatana-keyboard-lomiri.so.0"; } m_pLibHandle = dlopen(sLib, RTLD_NOW); |