summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-16 23:09:42 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-25 14:13:01 +0000
commitd0bc70fd146728fe281b656931da657283603ea9 (patch)
tree16849bdbcfe84026d460817ce304fd63c0ad1b44
parentbd56579c7d9de94c17287adefa118290e6b7ba33 (diff)
Recognize Hurd platform
Building ultracopier on Hurd fails because PluginsManager.cpp checks for various supported host platform (Linux, Mac OS X, Windows) and default to giving an error. Given the code guarded by the Linux check, Hurd should work as well. This patch thus changes the guard for that code to also support Hurd. Author: Thomas Preud'homme <robotux@debian.org> Forwarded: https://github.com/alphaonex86/Ultracopier/commit/af299782b9a0feb63a8097834a46400890d8f184 Applied-Upstream: commit:af299782b9a0feb63a8097834a46400890d8f184 Last-Update: 2018-02-25
-rw-r--r--PluginsManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PluginsManager.cpp b/PluginsManager.cpp
index 95c158d..269e837 100644
--- a/PluginsManager.cpp
+++ b/PluginsManager.cpp
@@ -907,7 +907,7 @@ void PluginsManager::newAuthPath(const std::string &path)
/// \brief transfor short plugin name into file name
std::string PluginsManager::getResolvedPluginName(const std::string &name)
{
- #if defined(Q_OS_LINUX)
+ #if defined(Q_OS_LINUX) || defined(Q_OS_HURD)
return "lib"+name+".so";
#elif defined(Q_OS_MAC)
#if defined(QT_DEBUG)