FreeBSD package manager uses /usr/local/ as the default install path,
but that's not part of the compiler search path, so add it using the
APPEND_{LIB/INCLUDES} variables.

Signed-off-by: Roger Pau Monné <roger....@citrix.com>
---
Cc: Andrew Cooper <andrew.coop...@citrix.com>
Cc: George Dunlap <george.dun...@eu.citrix.com>
Cc: Ian Jackson <ian.jack...@eu.citrix.com>
Cc: Jan Beulich <jbeul...@suse.com>
Cc: Julien Grall <julien.gr...@arm.com>
Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Cc: Stefano Stabellini <sstabell...@kernel.org>
Cc: Tim Deegan <t...@xen.org>
Cc: Wei Liu <wei.l...@citrix.com>
---
 config/FreeBSD.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/config/FreeBSD.mk b/config/FreeBSD.mk
index afeaefbde2..98a5117e60 100644
--- a/config/FreeBSD.mk
+++ b/config/FreeBSD.mk
@@ -3,3 +3,7 @@ include $(XEN_ROOT)/config/StdGNU.mk
 # No wget on FreeBSD base system
 WGET = ftp
 PKG_INSTALLDIR = ${prefix}/libdata/pkgconfig
+
+# Add the default pkg install path
+APPEND_LIB += /usr/local/lib
+APPEND_INCLUDES += /usr/local/include
-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to