Skip to content

Commit

Permalink
Fix build of ffmpeg under NetBSD
Browse files Browse the repository at this point in the history
Pick up external libraries from LOCALBASE.
  • Loading branch information
ryoon authored and bradleysepos committed Jun 18, 2019
1 parent f1f175b commit 055278a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/ffmpeg/module.defs
Expand Up @@ -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
Expand Down

0 comments on commit 055278a

Please sign in to comment.