-DLOCALEDIR=\"$(localedir)\" \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-DDATA_PATH=\"$(vlcdatadir)\" \
- -DPKGLIBDIR=\"$(vlclibdir)\" \
- -DPLUGIN_PATH=PKGLIBDIR\"/plugins\"
+ -DPKGLIBDIR=\"$(vlclibdir)\"
libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlccore` $(AM_LDFLAGS) \
-no-undefined \
-export-symbols $(srcdir)/libvlccore.sym \
/* Contruct the special search path for system that have a relocatable
* executable. Set it to <vlc path>/plugins. */
+ assert( vlcpath );
- if( vlcpath && asprintf( &path, "%s" DIR_SEP "plugins", vlcpath ) != -1 )
+ if( asprintf( &path, "%s" DIR_SEP "plugins", vlcpath ) != -1 )
vlc_array_append( arraypaths, path );
-#if !defined(WIN32) && !defined(__APPLE__)
- vlc_array_append( arraypaths, strdup( PLUGIN_PATH ) );
-#endif
/* If the user provided a plugin path, we add it to the list */
char *userpaths = var_InheritString( p_this, "plugin-path" );