summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-05-29 12:50:22 -0700
committerJohn Stebbins <[email protected]>2018-05-29 14:29:29 -0700
commite52abd8813732080752eff10e4762e47ddca037c (patch)
tree9a5ee6381db0b113fe29d72ad12840135086a619 /libhb
parentf314b7673fcd0d95a30d10e5f1e5b32bebbad092 (diff)
contrib: add lzma support
lzma may be used by the ffmpeg tiff decoder which can be used in matroska files.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/module.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index fae0be2ad..cded5806d 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -185,6 +185,12 @@ else
LIBHB.GCC.l += z
endif
+ifneq ($(HAS.xz),1)
+LIBHB.dll.libs += $(CONTRIB.build/)lib/liblzma.a
+else
+ LIBHB.GCC.l += lzma
+endif
+
LIBHB.GCC.args.extra.dylib++ += -Wl,--out-implib,$(LIBHB.lib)
LIBHB.GCC.l += bcrypt ws2_32 uuid ole32
ifeq ($(HAS.dlfcn),1)