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