summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
diff options
context:
space:
mode:
authorRyo ONODERA <[email protected]>2019-05-03 21:33:30 +0900
committerBradley Sepos <[email protected]>2019-06-18 10:42:41 -0400
commit055278a1be6456b972d750b6fa5192bc37973148 (patch)
tree68e0a18671630bee0a31f2fabcf8396231251df0 /contrib/ffmpeg
parentf1f175ba154c3837b6fb1fa1a90307ac346c34f9 (diff)
Fix build of ffmpeg under NetBSD
Pick up external libraries from LOCALBASE.
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r--contrib/ffmpeg/module.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index abeb88df5..5d619359d 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -22,7 +22,7 @@ FFMPEG.CONFIGURE.build =
FFMPEG.CONFIGURE.env.LOCAL_PATH = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
FFMPEG.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
-ifeq (freebsd,$(BUILD.system))
+ifneq (,$(filter $(HOST.system),freebsd netbsd))
FFMPEG.CONFIGURE.env += CFLAGS=-I$(LOCALBASE)/include
FFMPEG.CONFIGURE.env += LDFLAGS=-L$(LOCALBASE)/lib
endif