fix up discovery of VAMP plugins after ./waf install, which fixes crashes when reversing regions and doing timeFX operations with a "regular" install of ardour3
git-svn-id: svn://localhost/ardour2/branches/3.0@13673 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
18f465393b
commit
8399cd8122
|
@ -47,6 +47,12 @@ export ARDOUR_DATA_PATH=@DATADIR@/ardour3
|
||||||
export ARDOUR_CONFIG_PATH=@SYSCONFDIR@/ardour3
|
export ARDOUR_CONFIG_PATH=@SYSCONFDIR@/ardour3
|
||||||
export ARDOUR_DLL_PATH=@LIBDIR@/ardour3
|
export ARDOUR_DLL_PATH=@LIBDIR@/ardour3
|
||||||
|
|
||||||
|
#
|
||||||
|
# VAMP has its own lookup path
|
||||||
|
#
|
||||||
|
|
||||||
|
export VAMP_PATH=@LIBDIR@/ardour3/vamp
|
||||||
|
|
||||||
if [ $# -gt 0 ] ; then
|
if [ $# -gt 0 ] ; then
|
||||||
case $1 in
|
case $1 in
|
||||||
-g|--gdb) GDB=gdb; shift ;;
|
-g|--gdb) GDB=gdb; shift ;;
|
||||||
|
|
|
@ -358,14 +358,11 @@ PluginLoader::Impl::getLibraryPathForPlugin(PluginKey plugin)
|
||||||
{
|
{
|
||||||
if (m_pluginLibraryNameMap.find(plugin) == m_pluginLibraryNameMap.end()) {
|
if (m_pluginLibraryNameMap.find(plugin) == m_pluginLibraryNameMap.end()) {
|
||||||
if (m_allPluginsEnumerated) return "";
|
if (m_allPluginsEnumerated) return "";
|
||||||
cerr << "plug " << plugin << " not found enumerate" << endl;
|
|
||||||
enumeratePlugins(plugin);
|
enumeratePlugins(plugin);
|
||||||
}
|
}
|
||||||
if (m_pluginLibraryNameMap.find(plugin) == m_pluginLibraryNameMap.end()) {
|
if (m_pluginLibraryNameMap.find(plugin) == m_pluginLibraryNameMap.end()) {
|
||||||
cerr << "plug " << plugin << " not found enumerate" << endl;
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
cerr << "Did find plugin " << plugin << endl;
|
|
||||||
return m_pluginLibraryNameMap[plugin];
|
return m_pluginLibraryNameMap[plugin];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user