summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--libhb/module.defs1
-rw-r--r--make/variant/freebsd.defs2
2 files changed, 1 insertions, 2 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
diff --git a/make/variant/freebsd.defs b/make/variant/freebsd.defs
index e0855b51a..5959341e4 100644
--- a/make/variant/freebsd.defs
+++ b/make/variant/freebsd.defs
@@ -3,8 +3,6 @@ LOCALBASE ?= /usr/local
TARGET.dylib.ext = .so
-GCC.I = $(LOCALBASE)/include
-GCC.L = $(LOCALBASE)/lib
GCC.D = LIBICONV_PLUG
GCC.args.dylib = -shared