diff options
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | src/wrapper.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index a9b2bf7..f615857 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,11 @@ bin_PROGRAMS = bin/mcron bin/crontab sbin_PROGRAMS = bin/cron -AM_CPPFLAGS = -DPACKAGE_LOAD_PATH=\"$(moduledir)\" -D_GNU_SOURCE +AM_CPPFLAGS = \ + -DPACKAGE_LOAD_PATH=\"$(moduledir)\" \ + -DPACKAGE_LOAD_COMPILED_PATH=\"$(moduledir)\" \ + -D_GNU_SOURCE + AM_CFLAGS = @GUILE_CFLAGS@ LDADD = @GUILE_LIBS@ diff --git a/src/wrapper.c b/src/wrapper.c index 52bd6ea..cef6b3c 100644 --- a/src/wrapper.c +++ b/src/wrapper.c @@ -43,7 +43,7 @@ main (int argc, char **argv) if (getenv ("MCRON_UNINSTALLED") == NULL) { wrap_env_path ("GUILE_LOAD_PATH", PACKAGE_LOAD_PATH); - wrap_env_path ("GUILE_LOAD_COMPILED_PATH", PACKAGE_LOAD_PATH); + wrap_env_path ("GUILE_LOAD_COMPILED_PATH", PACKAGE_LOAD_COMPILED_PATH); } scm_boot_guile (argc, argv, inner_main, 0); |