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:
Henry Weller
2016-08-16 16:12:19 +01:00
parent e44cc9697b
commit 14a0a94c01

View File

@ -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)
{