Files
openfoam/bin/tools
Alexey Matveichev f584ec97d0 ENH: reimplement Foam::dlOpen() for macOS (#2801)
- The Apple SIP (System Integrity Protection) clears environment
  variables, which affects the behaviour of dynamic library loading
  (the DYLD_LIBRARY_PATH env variable).

  OpenFOAM shadows this variable as FOAM_LD_LIBRARY_PATH, which has
  been used to restore DYLD_LIBRARY_PATH (eg, in RunFunctions script).

  However, this solution is not quite complete, as it
    (a) requires sourcing of RunFunctions file,
    (b) additional errors appear depending on a user workflow.

  This changeset alleviates the problem by also iterating through
  paths stored in the shadow variable when loading dynamic libraries
  (if the DYLD_LIBRARY_PATH is empty).
2023-06-14 13:55:38 +02:00
..
2022-06-09 15:34:17 +02:00
2023-05-10 18:23:13 +02:00
2020-11-25 21:31:22 +01:00
2020-11-25 21:31:22 +01:00
2023-05-10 18:23:13 +02:00
2020-11-25 21:31:22 +01:00

Miscellaneous tools, scripts, templates that are useful
(eg, for building applications) but don't need to be in the PATH.