mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: some low-level darwin-related patches
- a partial selection from https://github.com/mrklein/openfoam-os-x with adjustments. The primary purpose is to reduce header-level incompatibilities and to provide a common set of make rules to allow easier patching (or re-integration).
This commit is contained in:
@ -315,7 +315,11 @@ Foam::fileName Foam::dynamicCode::codeRelPath() const
|
||||
|
||||
Foam::fileName Foam::dynamicCode::libRelPath() const
|
||||
{
|
||||
#ifdef darwin
|
||||
return codeRelPath()/libSubDir_/"lib" + codeName_ + ".dylib";
|
||||
#else
|
||||
return codeRelPath()/libSubDir_/"lib" + codeName_ + ".so";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user