summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-11 23:50:15 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-09-13 21:54:35 +0200
commit4c443f0247bde405e57e8b7db078a56a7cf9130a (patch)
tree1935a8f8cf79cddbdc62befa4d138da0d6276af0
parent047cb1a46b142e391f5f98c40c77ca9959a4cd6c (diff)
libsvg-cairo: explicitly disable X support
Our libsvg-cairo package doesn't have any dependency on X, and the source code doesn't seem to be using X. However, the configure script checks for X headers and libraries. If they are found on the host, /usr/lib and /usr/include get added to the library/header paths causing weird build failures. This commit should fix this problem by explicitly disabling the X support. Should fix: http://autobuild.buildroot.org/results/d0f/d0fc233bb97c2ea18344746a5b7c63c8de65330a/ http://autobuild.buildroot.org/results/0b3/0b3fb2ee9916aa265df5b6e4f04f6dfa25d1fc84/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libsvg-cairo/libsvg-cairo.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libsvg-cairo/libsvg-cairo.mk b/package/libsvg-cairo/libsvg-cairo.mk
index 93b8f76e6..fd1dbeebd 100644
--- a/package/libsvg-cairo/libsvg-cairo.mk
+++ b/package/libsvg-cairo/libsvg-cairo.mk
@@ -11,4 +11,6 @@ LIBSVG_CAIRO_INSTALL_STAGING = YES
LIBSVG_CAIRO_LICENSE = LGPLv2.1+
LIBSVG_CAIRO_LICENSE_FILES = COPYING
+LIBSVG_CAIRO_CONF_OPT = --without-x
+
$(eval $(autotools-package))