summaryrefslogtreecommitdiffstats
path: root/contrib/libass
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libass')
-rw-r--r--contrib/libass/module.defs7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libass/module.defs b/contrib/libass/module.defs
index 9ac269528..7af604bd0 100644
--- a/contrib/libass/module.defs
+++ b/contrib/libass/module.defs
@@ -20,6 +20,13 @@ ifneq ($(BUILD.system),linux)
FRIBIDI_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include"
endif
+ifneq (1,$(BUILD.cross))
+ ifeq (1,$(FEATURE.local_yasm))
+ LIBASS.CONFIGURE.env.LOCAL_PATH = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
+ LIBASS.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
+ endif
+endif
+
ifeq ($(BUILD.system),darwin)
LIBASS.CONFIGURE.extra += --disable-coretext
endif