diff options
author | orbea <[email protected]> | 2024-03-17 10:14:22 -0700 |
---|---|---|
committer | Luke from DC <[email protected]> | 2024-08-15 17:59:01 +0000 |
commit | 1462391e13a746157924ce80b14d7fd68cd48430 (patch) | |
tree | c18c9e58cbac626843813576ca02c8e50bce54ed | |
parent | 2194cb268ddc7289ba7f7ec36544527c238fa797 (diff) | |
download | mate-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
-rw-r--r-- | plugins/a11y-keyboard/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/background/Makefile.am | 1 | ||||
-rw-r--r-- | plugins/clipboard/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/keyboard/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/xrandr/Makefile.am | 4 | ||||
-rw-r--r-- | plugins/xsettings/Makefile.am | 1 |
6 files changed, 11 insertions, 1 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 diff --git a/plugins/background/Makefile.am b/plugins/background/Makefile.am index ac32ceb..b2ab685 100644 --- a/plugins/background/Makefile.am +++ b/plugins/background/Makefile.am @@ -58,6 +58,7 @@ libbackground_la_LDFLAGS = \ libbackground_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) \ $(MATE_DESKTOP_LIBS) \ + $(X11_LIBS) \ $(NULL) plugin_in_files = \ diff --git a/plugins/clipboard/Makefile.am b/plugins/clipboard/Makefile.am index d8baed9..414fff1 100644 --- a/plugins/clipboard/Makefile.am +++ b/plugins/clipboard/Makefile.am @@ -31,6 +31,8 @@ libclipboard_la_LDFLAGS = \ libclipboard_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) \ + $(X11_LIBS) \ + $(XINPUT_LIBS) \ $(NULL) plugin_in_files = \ diff --git a/plugins/keyboard/Makefile.am b/plugins/keyboard/Makefile.am index 2e2b83e..cc21f18 100644 --- a/plugins/keyboard/Makefile.am +++ b/plugins/keyboard/Makefile.am @@ -46,6 +46,8 @@ libkeyboard_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) \ $(LIBMATEKBDUI_LIBS) \ $(MATE_DESKTOP_LIBS) \ + $(X11_LIBS) \ + $(XINPUT_LIBS) \ $(NULL) plugin_in_files = \ diff --git a/plugins/xrandr/Makefile.am b/plugins/xrandr/Makefile.am index ccf6f69..7316599 100644 --- a/plugins/xrandr/Makefile.am +++ b/plugins/xrandr/Makefile.am @@ -70,7 +70,9 @@ libxrandr_la_LDFLAGS = \ libxrandr_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) \ $(LIBNOTIFY_LIBS) \ - $(MATE_DESKTOP_LIBS) + $(MATE_DESKTOP_LIBS) \ + $(X11_LIBS) \ + $(NULL) plugin_in_files = \ xrandr.mate-settings-plugin.desktop.in diff --git a/plugins/xsettings/Makefile.am b/plugins/xsettings/Makefile.am index 6e8e50f..e81842f 100644 --- a/plugins/xsettings/Makefile.am +++ b/plugins/xsettings/Makefile.am @@ -38,6 +38,7 @@ libxsettings_la_LDFLAGS = \ libxsettings_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) \ $(FONTCONFIG_LIBS) \ + $(X11_LIBS) \ $(NULL) plugin_in_files = \ |