~ chicken-core (chicken-5) 5fe25c3c3589b622715d504dc8e21f082e53a03c
commit 5fe25c3c3589b622715d504dc8e21f082e53a03c Author: felix <felix@call-with-current-continuation.org> AuthorDate: Wed Feb 6 22:34:20 2013 +0100 Commit: Christian Kellermann <ckeen@pestilenz.org> CommitDate: Thu Feb 7 12:29:00 2013 +0100 Do not apply PROGRAM_PREFIX and PROGRAM_SUFFIX to include directory for cross-built target installation - the prefix/suffix strings are intended for the host system to distinguish cross-chickens or multiple installations (often with the same PREFIX directory). Signed-off-by: Christian Kellermann <ckeen@pestilenz.org> diff --git a/defaults.make b/defaults.make index ea4dbc84..9bb2baf7 100644 --- a/defaults.make +++ b/defaults.make @@ -443,7 +443,7 @@ endif echo "# define C_TARGET_SHARE_HOME \"$(TARGET_PREFIX)/share\"" >>$@ echo "#endif" >>$@ echo "#ifndef C_TARGET_INCLUDE_HOME" >>$@ - echo "# define C_TARGET_INCLUDE_HOME \"$(TARGET_PREFIX)/include/$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)\"" >>$@ + echo "# define C_TARGET_INCLUDE_HOME \"$(TARGET_PREFIX)/include/chicken\"" >>$@ echo "#endif" >>$@ echo "#ifndef C_TARGET_STATIC_LIB_HOME" >>$@ echo "# define C_TARGET_STATIC_LIB_HOME \"$(TARGET_PREFIX)/lib\"" >>$@Trap