mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 13:15:44 +01:00
'AudioEngine::discover_backends()' - When building a debuggable backend module on Windows (e.g. jack_backend.dll) accommodate the Windows convention that Debug builds generally have a suffix added to their name
This commit is contained in:
parent
98880915af
commit
b4d0d47b63
1 changed files with 10 additions and 1 deletions
|
|
@ -472,8 +472,17 @@ AudioEngine::discover_backends ()
|
|||
|
||||
Glib::PatternSpec so_extension_pattern("*backend.so");
|
||||
Glib::PatternSpec dylib_extension_pattern("*backend.dylib");
|
||||
Glib::PatternSpec dll_extension_pattern("*backend.dll");
|
||||
|
||||
#if defined(PLATFORM_WINDOWS) && defined(DEBUGGABLE_BACKENDS)
|
||||
#if defined(DEBUG) || defined(_DEBUG)
|
||||
Glib::PatternSpec dll_extension_pattern("*backendD.dll");
|
||||
#else
|
||||
Glib::PatternSpec dll_extension_pattern("*backendRDC.dll");
|
||||
#endif
|
||||
#else
|
||||
Glib::PatternSpec dll_extension_pattern("*backend.dll");
|
||||
#endif
|
||||
|
||||
find_matching_files_in_search_path (backend_search_path (),
|
||||
so_extension_pattern, backend_modules);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue