summaryrefslogtreecommitdiffstats
path: root/contrib/libbluray/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libbluray/module.defs')
-rw-r--r--contrib/libbluray/module.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libbluray/module.defs b/contrib/libbluray/module.defs
index fcf31d4ee..1dd964ca6 100644
--- a/contrib/libbluray/module.defs
+++ b/contrib/libbluray/module.defs
@@ -11,11 +11,11 @@ endif
LIBBLURAY.CONFIGURE.extra += --disable-doxygen-doc --disable-examples --disable-bdjava-jar --without-freetype --without-fontconfig
-ifeq (mingw,$(BUILD.system))
+ifeq (mingw,$(HOST.system))
LIBBLURAY.GCC.D += MINGW_HAS_SECURE_API=1
endif
-ifeq (freebsd,$(BUILD.system))
+ifeq (freebsd,$(HOST.system))
LIBBLURAY.GCC.D += _XOPEN_SOURCE=700
endif