[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] build: fix include paths in FreeBSD



commit fe9b60476a548de1c62d6fc985e9741b04479d36
Author:     Roger Pau Monne <roger.pau@xxxxxxxxxx>
AuthorDate: Mon Jul 2 10:28:26 2018 +0200
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
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é <roger.pau@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 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#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.