summaryrefslogtreecommitdiff
path: root/plugins/a11y-keyboard
diff options
context:
space:
mode:
authororbea <[email protected]>2024-03-17 10:14:22 -0700
committerLuke from DC <[email protected]>2024-08-15 17:59:01 +0000
commit1462391e13a746157924ce80b14d7fd68cd48430 (patch)
treec18c9e58cbac626843813576ca02c8e50bce54ed /plugins/a11y-keyboard
parent2194cb268ddc7289ba7f7ec36544527c238fa797 (diff)
downloadmate-settings-daemon-1462391e13a746157924ce80b14d7fd68cd48430.tar.bz2
mate-settings-daemon-1462391e13a746157924ce80b14d7fd68cd48430.tar.xz
plugins: add missing x11 linker flags
Many of the plugins depend on the libX11 and libXi linker flags, but they are missing. With GNU libtool the -no-undefined flag is silently ignored so the build succeeds, but with slibtool is correctly sets -Wl,--no-undefined in the linker flags. Gentoo issue: https://bugs.gentoo.org/922326
Diffstat (limited to 'plugins/a11y-keyboard')
-rw-r--r--plugins/a11y-keyboard/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/a11y-keyboard/Makefile.am b/plugins/a11y-keyboard/Makefile.am
index 0ea0e4a..45078d7 100644
--- a/plugins/a11y-keyboard/Makefile.am
+++ b/plugins/a11y-keyboard/Makefile.am
@@ -66,6 +66,8 @@ liba11y_keyboard_la_LDFLAGS = \
liba11y_keyboard_la_LIBADD = \
$(SETTINGS_PLUGIN_LIBS) \
$(LIBNOTIFY_LIBS) \
+ $(X11_LIBS) \
+ $(XINPUT_LIBS) \
$(NULL)
if HAVE_LIBATSPI