]> xenbits.xensource.com Git - xen.git/commitdiff
build: fix include paths in FreeBSD
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 2 Jul 2018 08:28:26 +0000 (10:28 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 10 Jul 2018 07:42:11 +0000 (08:42 +0100)
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@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
config/FreeBSD.mk

index afeaefbde27efe171683d800b2bcfc4214ab3acc..98a5117e606c3150a42d0cc056c54ced4454853b 100644 (file)
@@ -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