From 5996c99f899f8a76289ae30b4b46277a4009179e Mon Sep 17 00:00:00 2001 From: bradleys Date: Wed, 15 Oct 2014 23:32:41 +0000 Subject: contrib: Add libgnurx to provide POSIX regex on Windows. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6445 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/module.defs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libhb') diff --git a/libhb/module.defs b/libhb/module.defs index b1920fdbd..f45c7e40b 100644 --- a/libhb/module.defs +++ b/libhb/module.defs @@ -1,6 +1,6 @@ __deps__ := A52DEC BZIP2 LIBVPX FFMPEG FONTCONFIG FREETYPE LAME LIBASS LIBDCA \ LIBDVDREAD LIBDVDNAV LIBICONV LIBOGG LIBSAMPLERATE LIBTHEORA LIBVORBIS LIBXML2 \ - PTHREADW32 X264 X265 ZLIB LIBBLURAY FDKAAC LIBMFX + PTHREADW32 X264 X265 ZLIB LIBBLURAY FDKAAC LIBMFX LIBGNURX $(eval $(call import.MODULE.defs,LIBHB,libhb,$(__deps__))) $(eval $(call import.GCC,LIBHB)) @@ -128,6 +128,12 @@ else LIBHB.GCC.l += iconv endif +ifneq ($(HAS.regex),1) +LIBHB.dll.libs += $(CONTRIB.build/)lib/libregex.a +else + LIBHB.GCC.l += regex +endif + ifeq (1,$(FRIBIDI.enabled)) LIBHB.dll.libs += $(CONTRIB.build/)lib/libfribidi.a else -- cgit v1.2.3