]> granicus.if.org Git - handbrake/commitdiff
build: fix libdvdread on mingw when dlfcn is present
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 17 Apr 2019 20:05:27 +0000 (14:05 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 17 Apr 2019 20:07:21 +0000 (14:07 -0600)
I broke the config that told libdvdread to use it's internal
implementation of dlopen.  It tried to use system dlopen, but we don't
add -ldl to the link line.  So it fails to link

contrib/libdvdread/module.defs

index a8a9643b8294594b4842dd2957d231e5700ed555..ab65e83acbe68a5ded7cb4bd10ce7cd8b138a459 100644 (file)
@@ -5,6 +5,6 @@ LIBDVDREAD.FETCH.url     = https://download.handbrake.fr/handbrake/contrib/libdv
 LIBDVDREAD.FETCH.url    += https://download.videolan.org/pub/videolan/libdvdread/6.0.1/libdvdread-6.0.1.tar.bz2
 LIBDVDREAD.FETCH.sha256  = 28ce4f0063883ca4d37dfd40a2f6685503d679bca7d88d58e04ee8112382d5bd
 
-ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+ifeq (1-mingw,$(HOST.cross)-$(HOST.system))
     LIBDVDREAD.CONFIGURE.extra = --enable-dlfcn
 endif