summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-04-17 14:05:27 -0600
committerJohn Stebbins <[email protected]>2019-04-17 14:07:21 -0600
commit3de90decff8bb5090d3cc8f1eea41643a66aa438 (patch)
treeb2d01c0b53ec10e7bc58be05f837473a4a326a40
parent270c8972c94f6dda9405fa24f316754feb784e0b (diff)
build: fix libdvdread on mingw when dlfcn is present
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
-rw-r--r--contrib/libdvdread/module.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libdvdread/module.defs b/contrib/libdvdread/module.defs
index a8a9643b8..ab65e83ac 100644
--- a/contrib/libdvdread/module.defs
+++ b/contrib/libdvdread/module.defs
@@ -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