summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libvpx/module.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs
index 7e4beb685..761385795 100644
--- a/contrib/libvpx/module.defs
+++ b/contrib/libvpx/module.defs
@@ -8,6 +8,7 @@ LIBVPX.FETCH.md5 = 49e59dd184caa255886683facea56fca
LIBVPX.CONFIGURE.args.host =
LIBVPX.CONFIGURE.deps =
LIBVPX.CONFIGURE.extra = \
+ --as=yasm \
--enable-vp8-encoder \
--enable-vp9-encoder \
--disable-vp9-decoder \
@@ -26,3 +27,8 @@ ifeq (1-i686,$(BUILD.cross)-$(BUILD.machine))
else ifeq (1-x86_64,$(BUILD.cross)-$(BUILD.machine))
LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
endif
+
+ifeq (1,$(FEATURE.local_yasm))
+ LIBVPX.CONFIGURE.env.LOCAL_PATH = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
+ LIBVPX.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
+endif