diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2016-10-25 11:53:28 +0200 |
---|---|---|
committer | Wei Liu <wei.liu2@citrix.com> | 2016-10-26 12:37:34 +0100 |
commit | 4000a7c7d7b0e01837abd3918e393f289c07d68c (patch) | |
tree | e15c41369584b1a56b498fcb3a14523e27575c5e /config/Paths.mk.in | |
parent | 0d250b69eae5d1e8039270c763b05acc84589a8c (diff) | |
download | xen-4000a7c7d7b0e01837abd3918e393f289c07d68c.tar.gz |
tools/configure: fix pkg-config install path for FreeBSD
pkg-config from FreeBSD ports doesn't have ${prefix}/share/pkgconfig in the
default search path, fix this by having a PKG_INSTALLDIR variable that can
be changed on a per-OS basis.
It would be best to use PKG_INSTALLDIR as defined by the pkg.m4 macro, but
sadly this also reports a wrong value on FreeBSD (${libdir}/pkgconfig, which
expands to /usr/local/lib/pkgconfig by default, and is also _not_ part of
the default pkg-config search path).
This patch should not change the behavior for Linux installs.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported-by: Alexander Nusov <alexander.nusov@nfvexpress.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
Diffstat (limited to 'config/Paths.mk.in')
-rw-r--r-- | config/Paths.mk.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/Paths.mk.in b/config/Paths.mk.in index 62cea48a58..a603295146 100644 --- a/config/Paths.mk.in +++ b/config/Paths.mk.in @@ -56,3 +56,5 @@ XENFIRMWAREDIR := @XENFIRMWAREDIR@ XEN_CONFIG_DIR := @XEN_CONFIG_DIR@ XEN_SCRIPT_DIR := @XEN_SCRIPT_DIR@ + +PKG_INSTALLDIR := ${SHAREDIR}/pkgconfig |