Changeset e7f512c in OpenModelica


Ignore:
Timestamp:
2020-10-20T16:40:49+02:00 (3 years ago)
Author:
Martin Sjölund <martin.sjolund@…>
Children:
a9da941c
Parents:
d42dbda
Message:

We need the special bootstrapping OPENMODELICAHOME because there is no shared object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/runtime/settingsimpl.c

    rd42dbda re7f512c  
    7979}
    8080
     81#if defined(OPENMODELICA_BOOTSTRAPPING_STAGE_1)
     82const char* SettingsImpl__getInstallationDirectoryPath(void) {
     83  const char *path = getenv("OPENMODELICAHOME");
     84  return path ? path : "OPENMODELICA_BOOTSTRAPPING_STAGE_1_NO_OPENMODELICAHOME";
     85}
     86#else
    8187#if (defined(__linux__) || defined(__APPLE_CC__))
    8288/* Helper function to strip /bin/... or /lib/... from the executable path of omc */
     
    153159}
    154160
     161#endif
    155162#endif
    156163
Note: See TracChangeset for help on using the changeset viewer.