mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
df5b7aedb9
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
29 lines
887 B
Diff
29 lines
887 B
Diff
# Description: explicitly link against libX11
|
|
# The binary uses its symbols and not linking explicitly causes
|
|
# a failure to build with GNU binutils gold
|
|
# Author: Bhavani Shankar R <bhavi@ubuntu.com>
|
|
# Bug-Debian: http://bugs.debian.org/554373
|
|
# Forwarded: no
|
|
|
|
--- a/src/Makefile.am
|
|
+++ b/src/Makefile.am
|
|
@@ -33,7 +33,7 @@ noinst_HEADERS = \
|
|
dictgui.h \
|
|
language_tools.h
|
|
|
|
-gbgoffice_LDADD = @LIBS@ @GTKMM_LIBS@
|
|
+gbgoffice_LDADD = @LIBS@ @GTKMM_LIBS@ -lX11
|
|
|
|
AM_CXXFLAGS = @GTKMM_CFLAGS@
|
|
AM_CPPFLAGS = -DDATA_DIR_CONFIG=\"$(datadir)/bgoffice/\" @CPPFLAGS@
|
|
--- a/src/Makefile.in
|
|
+++ b/src/Makefile.in
|
|
@@ -186,7 +186,7 @@ noinst_HEADERS = \
|
|
dictgui.h \
|
|
language_tools.h
|
|
|
|
-gbgoffice_LDADD = @LIBS@ @GTKMM_LIBS@
|
|
+gbgoffice_LDADD = @LIBS@ @GTKMM_LIBS@ -lX11
|
|
AM_CXXFLAGS = @GTKMM_CFLAGS@
|
|
AM_CPPFLAGS = -DDATA_DIR_CONFIG=\"$(datadir)/bgoffice/\" @CPPFLAGS@
|
|
all: config.h
|