]> git.sesse.net Git - vlc/commit
do not install dsm plugin twice
authorPetri Hintukainen <phintuka@users.sourceforge.net>
Tue, 17 Mar 2015 07:01:23 +0000 (07:01 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 17 Mar 2015 17:15:29 +0000 (18:15 +0100)
commit865d4b77957f3d16f667e2d62de5c423cc68928b
tree5a9452c9573ffb5eee07984c37392528817a3ff5
parentbea81bc163f7b401068003977bf23a3aa675d2da
do not install dsm plugin twice

On ma, 2015-03-16 at 13:59 +0300, Rémi Denis-Courmont wrote:
> Le 2015-03-16 13:24, Petri Hintukainen a écrit :
> > I tried to enable dsm access plugin in Linux (to get directory
> > browsing
> > support). But "make install" failed with error:
> >
> > libtool: install: error: cannot install `libdsm_plugin.la' to a
> > directory not ending in /usr/lib/vlc/plugins/services_discovery
> >
> > It looks like the module is installed twice: first to access/, then
> > to
> > services_discovery/. Installing it only to services_discovery/ seems
> > to
> > work.
>
> The (rest of the) Makefile rules are in access/ though...

Removing it from services_discovery/Makefile.am in commit
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42350148049e6a91db1f6876d1e0765640da0f7d
didn't fix the problem with make install.

With
../configure --prefix=/usr --enable-dsm --disable-smb
make && sudo make install

I still get

libtool: install: error: cannot install `libdsm_plugin.la' to a
directory not ending in /usr/lib/vlc/plugins/services_discovery

Alternative patch attached.

(or maybe I have broken libtool ... ?)

>From 43e5502bb44f8611eb1d61cc8fa6c1c711dce32b Mon Sep 17 00:00:00 2001
From: Petri Hintukainen <phintuka@gmail.com>
Date: Tue, 17 Mar 2015 09:52:47 +0200
Subject: [PATCH] dsm: fix runtime library search path

Fixes "libtool: install: error: cannot install `libdsm_plugin.la'
to a directory not ending in /usr/lib/vlc/plugins/services_discovery"

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/Makefile.am