File: makefile.patch

package info (click to toggle)
matchbox-window-manager 1.2.2%2Bgit20200512-2.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,584 kB
  • sloc: ansic: 14,760; xml: 778; makefile: 119; sh: 16
file content (23 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix FTBFS with binutils-gold
Add -lX11, -lXext, -lXsettings-client to LDADD settings.  Closes: #555591.

Author: Moray Allan <moray@debian.org>
Bug-Debian: http://bugs.debian.org/555591
Index: matchbox-window-manager-1.2.2+git20200512/src/Makefile.am
===================================================================
--- matchbox-window-manager-1.2.2+git20200512.orig/src/Makefile.am	2020-06-15 14:02:14.000000000 +0100
+++ matchbox-window-manager-1.2.2+git20200512/src/Makefile.am	2020-06-15 15:15:39.840923076 +0100
@@ -16,11 +16,11 @@
 
 INCLUDES = -DDATADIR=\"$(DATADIR)\" -DCONFDIR=\"$(CONFDIR)\" -DPKGDATADIR=\"$(PKGDATADIR)\" -DPREFIX=\"$(PREFIXDIR)\" $(LIBMB_CFLAGS) $(COMPO_CFLAGS) $(EXPAT_CFLAGS) $(SN_CFLAGS) $(GCONF_CFLAGS) $(XFIXES_CFLAGS) $(XCURSOR_CFLAGS)
 
-matchbox_remote_LDADD = $(LIBMB_LIBS)
+matchbox_remote_LDADD = $(LIBMB_LIBS) -lX11 -lXext -lXsettings-client
 
 matchbox_remote_SOURCES = matchbox-remote.c 
 
-matchbox_window_manager_LDADD = $(LIBMB_LIBS) $(COMPO_LIBS) $(EXPAT_LIBS) $(SN_LIBS) $(GCONF_LIBS) $(XFIXES_LIBS) $(XCURSOR_LIBS)
+matchbox_window_manager_LDADD = $(LIBMB_LIBS) $(COMPO_LIBS) $(EXPAT_LIBS) $(SN_LIBS) $(GCONF_LIBS) $(XFIXES_LIBS) $(XCURSOR_LIBS) -lX11 -lXext -lXsettings-client
 
 matchbox_window_manager_SOURCES =                        \
 		   main.c structs.h wm.c wm.h            \