Den 2010-09-18 00:04 skrev Roumen Petrov: > Hi Peter, > > Peter Rosin wrote: >> Hi! >> >> need_lib_prefix.at currently fails with MSVC. > > Hmm probably test fail as shared library is build without -no-undefined flag. > > Did libtool MSC allow creation of shared libraries without -no-undefined ? > > On windows platforms (msc, gcc(mingw*)) may be the test require some PATH > magics. > (as example like func_fix_path from static.at test)
You are barking up the wrong tree, since: 1. The test passes on MinGW and Cygwin with gcc, if wouldn't do that if -no-undefined was the cause of the fail. 2. The patch in the old quoted message makes the test pass on MSVC, which it wouldn't do if -no-undefined was the cause of the fail. "PATH magic" is not relevant if -no-undefined is not passed, since everything should be static in that case (no dlls created). Cheers, Peter