summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalGenerator.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index b233fbf..fe4bc65 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1582,9 +1582,12 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
if(runtimeConcatenate)
{
#ifdef __QNX__
- std::cerr << itr->c_str() << "\n";
- std::cerr << this->Convert(itr->c_str(), NONE, SHELL, false) << "\n";
- fout << runtimeSep << this->Convert(itr->c_str(), NONE, SHELL, false);
+ std::string s = "\"";
+ s += *itr;
+ s += "\"";
+ std::cout << itr->c_str() << "\n";
+ std::cout << this->Convert(s.c_str(), NONE, SHELL, false) << "\n";
+ fout << runtimeSep << this->Convert(s.c_str(), NONE, SHELL, false) << ;
#else
fout << runtimeSep << *itr;
#endif