chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] use "share/chicken" also on compilation target


From: Lassi Kortela
Subject: Re: [PATCH] use "share/chicken" also on compilation target
Date: Sat, 7 Aug 2021 09:34:08 +0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

This patch changes TARGET_SHARE_HOME to also include the "chicken" suffix,
so it should be identical to INSTALL_SHARE_HOME in normal situations (when
not cross-compiling). This also addresses the installation location of "mac.r"
(only on macs, which should use IDATADIR and not ISHAREDIR).

defaults.make has this line:

DATADIR ?= $(SHAREDIR)/$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)

so this line in the patch:

$(call echo, >>, $@,# define C_TARGET_SHARE_HOME "$(TARGET_PREFIX)/share/chicken")

should probably be:

$(call echo, >>, $@,# define C_TARGET_SHARE_HOME "$(TARGET_PREFIX)/share/$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)")

Otherwise the patch looks good to me. Thanks for fixing this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]