diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-04-20 01:56:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 01:56:17 -0400 |
commit | 110489259c0696c0cee5bec6ad7695a0c93d4e74 (patch) | |
tree | 34a82b9e686c15e2acb00d62a0f8b95ac126de6d /lib/config_global.c | |
parent | 57c9489b28a481abc078ad3a2dd197079f9c414b (diff) | |
parent | 667574b2e5628976c0cc0ddc2e1ae25bf5c0fd02 (diff) | |
download | spmc-110489259c0696c0cee5bec6ad7695a0c93d4e74.tar.gz |
Merge pull request #28 from jhunkeler/circleci-macos
Circleci macos
Diffstat (limited to 'lib/config_global.c')
-rw-r--r-- | lib/config_global.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/config_global.c b/lib/config_global.c index e97cddb..52589d4 100644 --- a/lib/config_global.c +++ b/lib/config_global.c @@ -3,6 +3,10 @@ */ #include "spm.h" +// GLOBAL +spm_vars SPM_GLOBAL; + + /** * Get path to user's local configuration directory * (The path will be created if it doesn't exist) @@ -125,7 +129,13 @@ void check_runtime_environment(void) { int bad_rt = 0; char *required[] = { "file", +#if defined(__linux) || defined(__linux__) "patchelf", +#elif defined(__APPLE__) && defined(__MACH__) + "install_name_tool", +#elif defined(__WIN32__) + // TODO: Does windows provide some kind of equivalent? +#endif "objdump", "rsync", "tar", |