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:
Mark Olesen
2018-04-09 12:48:55 +02:00
parent d2b1b1cdc0
commit 297570de53
31 changed files with 218 additions and 19 deletions

View File

@ -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
}