summaryrefslogtreecommitdiffstats
path: root/contrib/libass/module.defs
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2016-07-08 01:11:11 +0200
committerTim Walker <[email protected]>2016-07-08 01:11:11 +0200
commit0fc54d0b67c84c6ef571752de1b4a7f482e40792 (patch)
tree8250e28fc8bd1153f5b542f662e2120b80ae91da /contrib/libass/module.defs
parentad08cd07e7ab9940a1e85ee26513f52adc105a5b (diff)
contrib: libass: specify path to local YASM.
Diffstat (limited to 'contrib/libass/module.defs')
-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