[Buildroot] [PATCH 1/2] package/xscreensaver: fix linking with intl

Romain Naour romain.naour at openwide.fr
Thu Aug 21 13:56:06 UTC 2014

xscreensaver doesn't build with (e)glibc toolchain when gettext package is

With (e)glibc libintl is provided by the libc whereas with uClibc it's provided
by gettext.

Linking with intl is only needed if the toolchain needs gettext and locale is


Signed-off-by: Romain Naour <romain.naour at openwide.fr>
 package/xscreensaver/xscreensaver.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/xscreensaver/xscreensaver.mk b/package/xscreensaver/xscreensaver.mk
index 0e84d27..ac8b09d 100644
--- a/package/xscreensaver/xscreensaver.mk
+++ b/package/xscreensaver/xscreensaver.mk
@@ -14,7 +14,7 @@ XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
 XSCREENSAVER_DEPENDENCIES = jpeg libglade libgtk2 xlib_libX11 xlib_libXt \
 	$(if $(BR2_PACKAGE_GETTEXT),gettext)
 # otherwise we end up with host include/library dirs passed to the
 # compiler/linker

More information about the buildroot mailing list