From 055278a1be6456b972d750b6fa5192bc37973148 Mon Sep 17 00:00:00 2001 From: Ryo ONODERA Date: Fri, 3 May 2019 21:33:30 +0900 Subject: [PATCH] Fix build of ffmpeg under NetBSD Pick up external libraries from LOCALBASE. --- contrib/ffmpeg/module.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0