1 From 2336fa7901733a434c38637bf39f3e282e78e1c1 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@openwide.fr>
3 Date: Wed, 27 Aug 2014 22:44:21 +0200
4 Subject: [PATCH 1/1] driver: fix linking with lintl
6 The libintl is missing during xscreensaver build if
7 glib2 was build with gettext.
9 xscreensaver.o: In function `main':
10 undefined reference to `libintl_bindtextdomain'
11 undefined reference to `libintl_textdomain'
13 Backport a patch applied in 5.28
15 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
17 driver/Makefile.in | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/driver/Makefile.in b/driver/Makefile.in
21 index af077ca..ce7055c 100644
22 --- a/driver/Makefile.in
23 +++ b/driver/Makefile.in
24 @@ -776,7 +776,7 @@ XScreenSaver_Xm_ad.h: XScreenSaver-Xm.ad
25 # The executables linked in this directory.
27 xscreensaver: $(SAVER_OBJS)
28 - $(CC) $(LDFLAGS) -o $@ $(SAVER_OBJS) $(SAVER_LIBS)
29 + $(CC) $(LDFLAGS) -o $@ $(SAVER_OBJS) $(SAVER_LIBS) $(INTL_LIBS)
31 xscreensaver-command: $(CMD_OBJS)
32 $(CC) $(LDFLAGS) -o $@ $(CMD_OBJS) $(CMD_LIBS)