mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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())
|
if (functionLibName.size())
|
||||||
{
|
{
|
||||||
void* functionLibPtr = dlOpen(functionLibName, verbose);
|
void* functionLibPtr = dlOpen
|
||||||
|
(
|
||||||
|
fileName(functionLibName).expand(),
|
||||||
|
verbose
|
||||||
|
);
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user