mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 09:36:15 +00:00
Changed: Use "lib" prefix under unices for plugins
This commit is contained in:
parent
003baa9140
commit
dd05b36f99
2 changed files with 3 additions and 1 deletions
|
@ -71,6 +71,7 @@ PluginSpec::PluginSpec()
|
|||
# error "Unknown compilation mode, can't build suffix"
|
||||
# endif
|
||||
#elif defined (NL_OS_UNIX)
|
||||
m_prefix = "lib";
|
||||
m_suffix = ".so";
|
||||
#else
|
||||
# error "You must define the lib suffix for your platform"
|
||||
|
@ -139,7 +140,7 @@ QList<PluginSpec *> PluginSpec::dependencySpecs() const
|
|||
|
||||
bool PluginSpec::setFileName(const QString &fileName)
|
||||
{
|
||||
m_fileName = fileName + m_suffix;
|
||||
m_fileName = m_prefix + fileName + m_suffix;
|
||||
m_filePath = m_location + "/" + m_fileName;
|
||||
|
||||
nlinfo(m_filePath.toStdString().c_str());
|
||||
|
|
|
@ -84,6 +84,7 @@ private:
|
|||
QString m_description;
|
||||
|
||||
QString m_nameSpecFile;
|
||||
QString m_prefix;
|
||||
QString m_suffix;
|
||||
int m_state;
|
||||
bool m_enabled, m_enabledStartup;
|
||||
|
|
Loading…
Reference in a new issue