summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorYuichiro NAITO <[email protected]>2018-11-27 22:45:43 +0900
committerBradley Sepos <[email protected]>2018-11-27 08:56:15 -0500
commitfe9ecc0162219df12be08a7529df9486702d1938 (patch)
tree3761fde1220c34ac0e87a31d8d6a5b0823829a09 /libhb
parente6081d225f352e15ad6cb8752ae07b648758cb48 (diff)
build: Remove GCC.I and GCC.L for FreeBSD.
It is too strong configuration that forces to search for the specific path first. If contrib library (ex. x265) is installed from Ports, and Ports library version is different from contrib, "GCC.I=/usr/local/include" look up Ports library headers first and it can be different definitions from contrib headers. We should look up contrib headers before Ports library headers.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/module.defs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 593328b10..e052df996 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -49,6 +49,7 @@ LIBHB.GCC.D += __LIBHB__ USE_PTHREAD
LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB.build/)include
ifeq ($(BUILD.system),freebsd)
+ LIBHB.GCC.I += $(LOCALBASE)/include
LIBHB.GCC.I += $(LOCALBASE)/include/libxml2
else ifneq (,$(filter $(BUILD.system),darwin cygwin mingw))
LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2