23 lines
857 B
Diff
23 lines
857 B
Diff
From 3dc3d8e73bc430ea4e93e33f7b2a4b3e0ff175af Mon Sep 17 00:00:00 2001
|
|
From: Pablo Saavedra <psaavedra@igalia.com>
|
|
Date: Tue, 13 Mar 2018 17:36:20 +0100
|
|
Subject: [PATCH] Fixed configure.ac: Fix pkgconfig sysroot locations
|
|
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 967eac0..b914219 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -592,7 +592,7 @@ if test "$have_jansson" = "yes"; then
|
|
AC_DEFINE(WITH_JANSSON, 1, [Define if JANSSON is enabled])
|
|
|
|
AC_CHECK_TOOLS(READELF, [eu-readelf readelf])
|
|
- JANSSON_LIBDIR=`$PKG_CONFIG --variable=libdir jansson`
|
|
+ JANSSON_LIBDIR=${PKG_CONFIG_SYSROOT_DIR}`$PKG_CONFIG --variable=libdir jansson`
|
|
JANSSON_SONAME=`$READELF -d $JANSSON_LIBDIR/libjansson.so |sed -n 's/.*SONAME.*\[[\([^]]*\)]]/\1/p'`
|
|
|
|
if test "$JANSSON_SONAME" = ""; then
|