summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorYuichiro NAITO <[email protected]>2018-08-21 10:42:30 +0900
committerBradley Sepos <[email protected]>2018-08-22 06:10:32 -0400
commit7767d0f28de1accae535d422cd295c46f0815c7d (patch)
tree88cfa8bf5ea8a5476b191250430e26406efdd552 /libhb
parent4b7a96048aa0ebef75079423b64549b763208f32 (diff)
build: Allows to use clang/clang++ compiler on FreeBSD.
LOCALBASE variable is used to indicate where FreeBSD ports are installed. default is /usr/local.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/module.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 3c45869f7..593328b10 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -49,7 +49,7 @@ LIBHB.GCC.D += __LIBHB__ USE_PTHREAD
LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB.build/)include
ifeq ($(BUILD.system),freebsd)
- LIBHB.GCC.I += /usr/local/include/libxml2
+ LIBHB.GCC.I += $(LOCALBASE)/include/libxml2
else ifneq (,$(filter $(BUILD.system),darwin cygwin mingw))
LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2
else