From 44e0e6f305e9f579af40915723b1965c565e96b9 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sat, 14 Jan 2017 16:56:37 +0100 Subject: build: Define PACKAGE_LOAD_COMPILED_PATH macro. * Makefile.am (AM_CPPFLAGS): Define PACKAGE_LOAD_COMPILED_PATH macro. * src/wrapper.c (main): Use it. --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.am') 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@ -- cgit v1.2.3