~ chicken-core (chicken-5) d7f8a386200961d1a5f94e7eac62485a9ccd4f02
commit d7f8a386200961d1a5f94e7eac62485a9ccd4f02 Author: Christian Kellermann <ckeen@pestilenz.org> AuthorDate: Thu Oct 13 21:57:22 2011 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Oct 14 13:17:09 2011 +0200 Prefix include path correctly when CHICKEN_PREFIX is set. This fixes bug #712 as reported by Sven Hartrumpf. Signed-off-by: felix <felix@call-with-current-continuation.org> diff --git a/csc.scm b/csc.scm index ecf51a3a..11bbff0d 100644 --- a/csc.scm +++ b/csc.scm @@ -225,7 +225,8 @@ (define translate-options '()) (define include-dir - (let ((id (prefix "" "include" + (let ((id (prefix "" + (make-pathname "include" "chicken") (if host-mode INSTALL_INCLUDE_HOME TARGET_INCLUDE_HOME)))) (and (not (member id '("/usr/include" ""))) id) ) )Trap