aboutsummaryrefslogtreecommitdiff
path: root/lib/internal_cmd.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-03-26 12:48:53 -0400
committerGitHub <noreply@github.com>2020-03-26 12:48:53 -0400
commit6590e30a998f8390c6e18d3686e6075b09653e38 (patch)
tree2d5d73c7cd50863cf08539cce5859c810fcf854e /lib/internal_cmd.c
parent2f76514854baec8c30a77316d7a9f0d4d5f11a95 (diff)
parent4b8f46f02a12ba9f342985539703a94a16702311 (diff)
downloadspmc-6590e30a998f8390c6e18d3686e6075b09653e38.tar.gz
Merge pull request #4 from jhunkeler/e2e1
More smoke tests
Diffstat (limited to 'lib/internal_cmd.c')
-rw-r--r--lib/internal_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal_cmd.c b/lib/internal_cmd.c
index a192ccf..a75ebe2 100644
--- a/lib/internal_cmd.c
+++ b/lib/internal_cmd.c
@@ -186,7 +186,7 @@ int mkruntime_interface(int argc, char **argv) {
runtime_set(rt, "PKG_CONFIG_PATH", "$SPM_PKGCONFIG:$PKG_CONFIG_PATH");
runtime_set(rt, "ACLOCAL_PATH", "${SPM_DATA}/aclocal");
- char *spm_ccpath = join((char *[]) {fs->bindir, "gcc"}, DIRSEPS);
+ char *spm_ccpath = join((char *[]) {fs->bindir, "gcc", NULL}, DIRSEPS);
if (exists(spm_ccpath) == 0) {
runtime_set(rt, "CC", "$SPM_BIN/gcc");
}