merge default into gsoc2011-translationovqt
This commit is contained in:
commit
bd089d779b
1 changed files with 9 additions and 4 deletions
|
@ -61,14 +61,19 @@ PluginSpec::PluginSpec()
|
||||||
m_plugin(0),
|
m_plugin(0),
|
||||||
m_pluginManager(0)
|
m_pluginManager(0)
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_WIN
|
// Compilation mode specific suffixes
|
||||||
# ifdef DEBUG
|
#ifdef NL_OS_WINDOWS
|
||||||
|
# if defined(NL_DEBUG)
|
||||||
m_suffix = "_d.dll";
|
m_suffix = "_d.dll";
|
||||||
# else
|
# elif defined(NL_RELEASE)
|
||||||
m_suffix = "_r.dll";
|
m_suffix = "_r.dll";
|
||||||
|
# else
|
||||||
|
# error "Unknown compilation mode, can't build suffix"
|
||||||
# endif
|
# endif
|
||||||
#else
|
#elif defined (NL_OS_UNIX)
|
||||||
m_suffix = ".so";
|
m_suffix = ".so";
|
||||||
|
#else
|
||||||
|
# error "You must define the lib suffix for your platform"
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue