Browse Source

Install and look for plugins in plugins/, not modules/ (fixes: #3352)

pull/2/head
Rémi Denis-Courmont 16 years ago
parent
commit
4ac9513cfd
  1. 2
      modules/common.am
  2. 2
      src/Makefile.am
  3. 4
      src/modules/modules.c

2
modules/common.am

@ -7,7 +7,7 @@
NULL =
SUFFIXES =
libvlcdir = $(vlclibdir)/modules/$(basedir)
libvlcdir = $(vlclibdir)/plugins/$(basedir)
EXTRA_DIST = Modules.am
BUILT_SOURCES =
CLEANFILES = $(BUILT_SOURCES)

2
src/Makefile.am

@ -190,7 +190,7 @@ libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlccore` \
-DDATA_PATH=\"$(vlcdatadir)\" \
-DLIBDIR=\"$(libdir)\" \
-DPKGLIBDIR=\"$(vlclibdir)\" \
-DPLUGIN_PATH=PKGLIBDIR\"/modules\"
-DPLUGIN_PATH=PKGLIBDIR\"/plugins\"
libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlccore` $(AM_LDFLAGS) \
-no-undefined \
-export-symbols $(srcdir)/libvlccore.sym \

4
src/modules/modules.c

@ -819,10 +819,8 @@ static void AllocateAllPlugins( vlc_object_t *p_this, module_bank_t *p_bank )
const bool b_reset = var_InheritBool( p_this, "reset-plugins-cache" );
/* Contruct the special search path for system that have a relocatable
* executable. Set it to <vlc path>/modules and <vlc path>/plugins. */
* executable. Set it to <vlc path>/plugins. */
if( vlcpath && asprintf( &path, "%s" DIR_SEP "modules", vlcpath ) != -1 )
vlc_array_append( arraypaths, path );
if( vlcpath && asprintf( &path, "%s" DIR_SEP "plugins", vlcpath ) != -1 )
vlc_array_append( arraypaths, path );
#ifndef WIN32

Loading…
Cancel
Save