Skip to content
Snippets Groups Projects
Commit 14a0a94c authored by Henry Weller's avatar Henry Weller
Browse files

dlLibraryTable: Add support for library path expansion

Patch contributed by Mattijs Janssens
Resolves patch request http://bugs.openfoam.org/view.php?id=2195
parent e44cc969
No related merge requests found
...@@ -81,7 +81,11 @@ bool Foam::dlLibraryTable::open ...@@ -81,7 +81,11 @@ bool Foam::dlLibraryTable::open
{ {
if (functionLibName.size()) if (functionLibName.size())
{ {
void* functionLibPtr = dlOpen(functionLibName, verbose); void* functionLibPtr = dlOpen
(
fileName(functionLibName).expand(),
verbose
);
if (debug) if (debug)
{ {
......
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