[xen staging] build: fix include paths in FreeBSD

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[xen staging] build: fix include paths in FreeBSD

commit fe9b60476a548de1c62d6fc985e9741b04479d36
Author:     Roger Pau Monne <[hidden email]>
AuthorDate: Mon Jul 2 10:28:26 2018 +0200
Commit:     Wei Liu <[hidden email]>
CommitDate: Tue Jul 10 08:42:11 2018 +0100

    build: fix include paths in FreeBSD
    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é <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
 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
generated by git-patchbot for /home/xen/git/xen.git#staging

Xen-changelog mailing list
[hidden email]