From 9894d821b74d279ec93f1810e1b4be694e306576 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Tue, 20 Mar 2018 11:30:48 +1100
Subject: libdvdread: explicitly disable dlfcn

fixes #2085
---
 src/libdvdread.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/libdvdread.mk b/src/libdvdread.mk
index 70b9312..3514ea9 100644
--- a/src/libdvdread.mk
+++ b/src/libdvdread.mk
@@ -10,7 +10,7 @@ $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.bz2
 $(PKG)_URL      := https://download.videolan.org/pub/videolan/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
 
 # libdvdread supports libdvdcss either by dynamic loading (dlfcn-win32) or
-# directly linking to libdvdcss. We directly links to the library here.
+# directly linking to libdvdcss. We directly link to the library here.
 $(PKG)_DEPS     := cc libdvdcss
 
 define $(PKG)_UPDATE
@@ -24,7 +24,8 @@ endef
 define $(PKG)_BUILD
     # build and install the library
     cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
-        $(MXE_CONFIGURE_OPTS)
+        $(MXE_CONFIGURE_OPTS) \
+        --disable-dlfcn \
         --with-libdvdcss \
         --disable-apidoc
     $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' LDFLAGS=-no-undefined
-- 
cgit v0.12