aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/0001-Fix-the-ordering-of-LDADD-options-to-fix-a-compilati.patch
blob: c976ff4705f71655a9ec2f78f03a4b1e4103fede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From c551dece6768f67b74b508e9c0133320205ef2df Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Mon, 23 May 2011 15:03:29 +0200
Subject: [PATCH] Fix the ordering of LDADD options to fix a compilation failure.

"invalid DSO for symbol `XUngrabServer' definition "

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 2fddc98..45bd850 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,7 @@ INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" \
 	   $(GLADE_CFLAGS) \
        -D_GNU_SOURCE
 
-LIBS = $(GTK_LIBS) $(GLADE_LIBS) $(XSHAPE_LIBS)
+LIBS = -lX11 $(XSHAPE_LIBS) $(GLADE_LIBS) $(GTK_LIBS) 
 
 bin_PROGRAMS = gpe-scap
 gpe_scap_SOURCES = scr-i18n.h \
-- 
1.6.6.1