]> granicus.if.org Git - handbrake/commitdiff
contrib: Make libbluray build compatible with FreeBSD.
authorBradley Sepos <bradley@bradleysepos.com>
Thu, 7 Dec 2017 00:24:36 +0000 (19:24 -0500)
committerBradley Sepos <bradley@bradleysepos.com>
Thu, 7 Dec 2017 00:47:36 +0000 (19:47 -0500)
contrib/libbluray/module.defs

index 061811415d42d244fccda4fe29e19ddd220d7bc0..f495f1ea61c99bf8ac04121ace3832c1b34654ec 100644 (file)
@@ -19,3 +19,7 @@ endif
 ifeq (mingw,$(BUILD.system))
     LIBBLURAY.GCC.D += MINGW_HAS_SECURE_API=1
 endif
+
+ifeq (freebsd,$(BUILD.system))
+    LIBBLURAY.GCC.D += _XOPEN_SOURCE=700
+endif