build: Properly set Guile load paths in programs
This fixes an issue where the installed Guile load paths were set by the undefined 'moduledir' Make macro. * Makefile.am (AM_CPPFLAGS): Define PACKAGE_LOAD_PATH with 'guilesitedir' macro and PACKAGE_LOAD_COMPILED_PATH with 'guilesitegodir'. * NEWS: Update.
This commit is contained in:
parent
dd9d6a6b06
commit
624ceb4480
2 changed files with 5 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ noinst_PROGRAMS = bin/cron bin/crontab
|
|||
endif
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DPACKAGE_LOAD_PATH=\"$(moduledir)\" \
|
||||
-DPACKAGE_LOAD_COMPILED_PATH=\"$(moduledir)\" \
|
||||
-DPACKAGE_LOAD_PATH=\"$(guilesitedir)\" \
|
||||
-DPACKAGE_LOAD_COMPILED_PATH=\"$(guilesitegodir)\" \
|
||||
-D_GNU_SOURCE
|
||||
|
||||
AM_CFLAGS = @GUILE_CFLAGS@
|
||||
|
|
|
|||
3
NEWS
3
NEWS
|
|
@ -7,6 +7,9 @@ GNU Mcron NEWS -*- outline -*-
|
|||
The "--disable-multi-user" configure variable is not reversed anymore.
|
||||
'cron' and 'crontab' are now installed unless this option is used.
|
||||
|
||||
The programs now sets the GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH
|
||||
environment variables with the location of the installed Guile modules.
|
||||
|
||||
* Noteworthy changes in release 1.1 (2018-03-19) [stable]
|
||||
|
||||
** New features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue