Re: [MPlayer-dev-eng] [PATCH] configure: remove support for internal libdvd*.
- Date: Thu, 04 Jun 2015 17:13:32 +0200
- From: Ingo Brückl <ib@xxxxxxxxxxxxxxx>
- Subject: Re: [MPlayer-dev-eng] [PATCH] configure: remove support for internal libdvd*.
Reimar Döffinger wrote on Sat, 25 Oct 2014 15:50:08 +0200:
> On Sat, Oct 25, 2014 at 03:43:12PM +0200, Nicolas George wrote:
>> Le quartidi 4 brumaire, an CCXXIII, Reimar Döffinger a écrit :
>> > Thanks, I didn't have old version around to test that.
>> Note that I could only test the build, not running with a DVD.
> If you could it most likely wouldn't work because you don't have
> libdvdcss2 installed :)
> (dlopen is used to load it, so you do not notice it missing
Either you let libdvdread use dlopen or you compile libdvdread directly
against libdvdcss. Unfortunately, we currently don't support this and
compiling fails with unresolved references to libdvdcss, because libdvdread
"Requires.private"ly libdvdcss in its pkg-config file in that case.
In order to fix it pass the --static option to pkg-config for libdvdread. It
won't hurt if libdvdread hasn't been built against libdvdcss, but will add
the necessary -ldvdcss if it has.
--- configure (revision 37411)
+++ configure (working copy)
@@ -747,7 +747,7 @@
type dvdnav-config >/dev/null 2>&1 && _dvdnavconfig=dvdnav-config
+_dvdreadconfig="pkg-config dvdread --static"
type dvdread-config >/dev/null 2>&1 && _dvdreadconfig=dvdread-config
MPlayer-dev-eng mailing list