dlLibraryTable: Add support for library path expansion
Patch contributed by Mattijs Janssens Resolves patch request http://bugs.openfoam.org/view.php?id=2195
This commit is contained in:
parent
e60bfc7d02
commit
f61ff85e7c
1 changed files with 5 additions and 1 deletions
|
|
@ -81,7 +81,11 @@ bool Foam::dlLibraryTable::open
|
|||
{
|
||||
if (functionLibName.size())
|
||||
{
|
||||
void* functionLibPtr = dlOpen(functionLibName, verbose);
|
||||
void* functionLibPtr = dlOpen
|
||||
(
|
||||
fileName(functionLibName).expand(),
|
||||
verbose
|
||||
);
|
||||
|
||||
if (debug)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue