summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-30 01:29:14 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-30 19:54:03 (GMT)
commitcc6da8b28ef6b6dde2eaaaf40d21f366508221ad (patch)
tree54d83415ec0cd7445f66c5acbd745b4e0a36d433
parentbd72a13a4ca3033bacbaf9e9a2b424acf149f83d (diff)
downloadbuildroot-cc6da8b28ef6b6dde2eaaaf40d21f366508221ad.tar.gz
buildroot-cc6da8b28ef6b6dde2eaaaf40d21f366508221ad.tar.bz2
matchbox-lib: Append -lX11 to the linker
Fixes building with binutils-2.22 http://autobuild.buildroot.net/results/b4b26dd9c7d7bebe45638ba125fb49a5f5d0cc14/build-end.log Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/matchbox/matchbox-lib/matchbox-lib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/matchbox/matchbox-lib/matchbox-lib.mk b/package/matchbox/matchbox-lib/matchbox-lib.mk
index de11dfc..339f512 100644
--- a/package/matchbox/matchbox-lib/matchbox-lib.mk
+++ b/package/matchbox/matchbox-lib/matchbox-lib.mk
@@ -10,6 +10,7 @@ MATCHBOX_LIB_SITE = http://matchbox-project.org/sources/libmatchbox/$(MATCHBOX_L
MATCHBOX_LIB_INSTALL_STAGING = YES
MATCHBOX_LIB_DEPENDENCIES = host-pkgconf expat xlib_libXext
MATCHBOX_LIB_CONF_OPT = --enable-expat --disable-doxygen-docs
+MATCHBOX_LIB_CONF_ENV = LIBS="-lX11"
define MATCHBOX_LIB_POST_INSTALL_FIXES
$(SED) 's:-I[^$$].*/usr/include/freetype2:-I/usr/include/freetype2:' $(STAGING_DIR)/usr/lib/pkgconfig/libmb.pc