From 00a51a23247f1edc4ae8eda72b30df5cd7d0015f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 25 Jun 2019 16:44:39 +0200 Subject: Correctly substitute directory names in 'python' executable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously "@libdir@" would typically expand to "${exec_prefix}/…", which wouldn't have the intended effect. * modules/Makefile.am (python): New target. (CLEANFILES): New variable. * modules/configure.ac: Remove 'AC_CONFIG_FILES' for 'python'. * modules/python.in: Use @datadir@ instead of @prefix@/share. Signed-off-by: Ricardo Wurmus --- modules/python.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/python.in') diff --git a/modules/python.in b/modules/python.in index 6b57242..5d7849f 100755 --- a/modules/python.in +++ b/modules/python.in @@ -4,7 +4,7 @@ (eval-when (expand load eval) (set! %load-path - (cons "@prefix@/share/guile/site/@GUILE_EFFECTIVE_VERSION@" %load-path)) + (cons "@datadir@/guile/site/@GUILE_EFFECTIVE_VERSION@" %load-path)) (set! %load-compiled-path (cons "@libdir@/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache" %load-compiled-path))) -- cgit v1.2.3