Skip to content

Commit

Permalink
Merge PR #3450: OpusCodec: add "libopus.so.0" (Linux) and "opus.dll" …
Browse files Browse the repository at this point in the history
…(Windows) to the library names
  • Loading branch information
davidebeatrici committed Jul 8, 2018
2 parents e3ad955 + fbe0638 commit e981c61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mumble/OpusCodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ OpusCodec::OpusCodec() {
alternatives << QString::fromLatin1("libopus.dylib");
alternatives << QString::fromLatin1("opus.dylib");
#elif defined(Q_OS_UNIX)
alternatives << QString::fromLatin1("libopus.so.0");
alternatives << QString::fromLatin1("libopus0.so");
alternatives << QString::fromLatin1("libopus.so");
alternatives << QString::fromLatin1("opus.so");
#else
alternatives << QString::fromLatin1("opus0.dll");
alternatives << QString::fromLatin1("opus.dll");
#endif
foreach(const QString &lib, alternatives) {
qlOpus.setFileName(MumbleApplication::instance()->applicationVersionRootPath() + QLatin1String("/") + lib);
Expand Down

0 comments on commit e981c61

Please sign in to comment.