From 57b056ac4388a589ed64b4b5fb385bed13d99983 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 17 Jul 2022 17:21:11 +0200 Subject: [PATCH] WorkerPool: Search for tagreader in libexec --- ext/libstrawberry-common/core/workerpool.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/libstrawberry-common/core/workerpool.h b/ext/libstrawberry-common/core/workerpool.h index 44726df9f..f12d03991 100644 --- a/ext/libstrawberry-common/core/workerpool.h +++ b/ext/libstrawberry-common/core/workerpool.h @@ -243,6 +243,10 @@ void WorkerPool::DoStart() { QStringList search_path; search_path << QCoreApplication::applicationDirPath(); +#if defined(Q_OS_UNIX) + search_path << "/usr/libexec"; + search_path << "/usr/local/libexec"; +#endif #if defined(Q_OS_MACOS) && defined(USE_BUNDLE) search_path << QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR; #endif