mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-13 11:38:24 -04:00
Fix compilation on older Apple versions
Adds libc++ to CXX flags Fixes macdeployqt on Qt5 Also fixes zynaddsubfx linking on Mac
This commit is contained in:
@@ -181,6 +181,14 @@ bool RemotePlugin::init( const QString &pluginExecutable,
|
||||
m_failed = false;
|
||||
}
|
||||
QString exec = QFileInfo(QDir("plugins:"), pluginExecutable).absoluteFilePath();
|
||||
#ifdef LMMS_BUILD_APPLE
|
||||
// search current directory first
|
||||
QString curDir = QCoreApplication::applicationDirPath() + "/" + pluginExecutable;
|
||||
if( QFile( curDir ).exists() )
|
||||
{
|
||||
exec = curDir;
|
||||
}
|
||||
#endif
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
if( ! exec.endsWith( ".exe", Qt::CaseInsensitive ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user