Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
fdaa7bb5
Commit
fdaa7bb5
authored
Jun 29, 2011
by
Sebastian Eichelbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[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
...
@@ -72,10 +72,10 @@ void WModuleLoader::load( WSharedAssociativeContainer< std::set< boost::shared_p
// is it a lib? Use a regular expression to check this
// is it a lib? Use a regular expression to check this
// NOTE:: the double \\ is needed to escape the escape char
// NOTE:: the double \\ is needed to escape the escape char
#ifdef __linux__
#ifdef __WIN32__
static
const
boost
::
regex
CheckLibMMP
(
"^.*
\\
"
+
WSharedLib
::
getSystemSuffix
()
+
"
\\
.[0-9]+
\\
.[0-9]+
\\
.[0-9]+$"
);
#else
static
const
boost
::
regex
CheckLibMMP
(
"^.*
\\
"
+
WSharedLib
::
getSystemSuffix
()
+
"$"
);
static
const
boost
::
regex
CheckLibMMP
(
"^.*
\\
"
+
WSharedLib
::
getSystemSuffix
()
+
"$"
);
#else
static
const
boost
::
regex
CheckLibMMP
(
"^.*
\\
"
+
WSharedLib
::
getSystemSuffix
()
+
"
\\
.[0-9]+
\\
.[0-9]+
\\
.[0-9]+$"
);
#endif
#endif
boost
::
smatch
matches
;
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