Commit fdaa7bb5 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] - should load libs on mac properly now

parent f841caf2
......@@ -72,10 +72,10 @@ void WModuleLoader::load( WSharedAssociativeContainer< std::set< boost::shared_p
// is it a lib? Use a regular expression to check this
// NOTE:: the double \\ is needed to escape the escape char
#ifdef __linux__
static const boost::regex CheckLibMMP( "^.*\\" + WSharedLib::getSystemSuffix() + "\\.[0-9]+\\.[0-9]+\\.[0-9]+$" );
#else
#ifdef __WIN32__
static const boost::regex CheckLibMMP( "^.*\\" + WSharedLib::getSystemSuffix() +"$" );
#else
static const boost::regex CheckLibMMP( "^.*\\" + WSharedLib::getSystemSuffix() + "\\.[0-9]+\\.[0-9]+\\.[0-9]+$" );
#endif
boost::smatch matches;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment