mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Bug 2046 - LAME not found error on 64-bit Mac build shows wrong library (32-bit one)
Audacity now looks for libmp3lame64bit.dylib on mac. It also reports 64 bit in the build tab in about Audacity if built for 64 bit.
This commit is contained in:
@@ -1468,11 +1468,15 @@ wxString MP3Exporter::GetLibraryPath()
|
||||
|
||||
wxString MP3Exporter::GetLibraryName()
|
||||
{
|
||||
if (sizeof(void*) == 8)
|
||||
return wxT("libmp3lame64bit.dylib");
|
||||
return wxT("libmp3lame.dylib");
|
||||
}
|
||||
|
||||
wxString MP3Exporter::GetLibraryTypeString()
|
||||
{
|
||||
if (sizeof(void*) == 8)
|
||||
return wxString(_("Only libmp3lame64bit.dylib|libmp3lame64bit.dylib|Dynamic Libraries (*.dylib)|*.dylib|All Files (*)|*"));
|
||||
return wxString(_("Only libmp3lame.dylib|libmp3lame.dylib|Dynamic Libraries (*.dylib)|*.dylib|All Files (*)|*"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user