Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
fdaa7bb5
Commit
fdaa7bb5
authored
Jun 29, 2011
by
Sebastian Eichelbaum
Browse files
[FIX] - should load libs on mac properly now
parent
f841caf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/core/kernel/WModuleLoader.cpp
src/core/kernel/WModuleLoader.cpp
+3
-3
No files found.
src/core/kernel/WModuleLoader.cpp
View file @
fdaa7bb5
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment