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:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user