~ chicken-core (chicken-5) 8205b77f440e2881b5bb43fef725288e10002b30
commit 8205b77f440e2881b5bb43fef725288e10002b30
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Thu Dec 12 14:54:16 2024 +0100
Commit: Peter Bex <peter@more-magic.net>
CommitDate: Mon Dec 16 11:59:35 2024 +0100
csc: use -rpath option value when invoking postinstall program on mac os
Signed-off-by: Peter Bex <peter@more-magic.net>
diff --git a/csc.scm b/csc.scm
index 3bdb205f..7deec9eb 100644
--- a/csc.scm
+++ b/csc.scm
@@ -971,9 +971,10 @@ EOF
(list "-change" lib
(if deployed
(make-pathname "@executable_path" lib)
- (make-pathname (if host-mode
- host-libdir
- TARGET_RUN_LIB_HOME)
+ (make-pathname (or rpath
+ (if host-mode
+ host-libdir
+ TARGET_RUN_LIB_HOME))
lib))
target-filename))))
(unless keep-files
Trap