Summary
non-cross chickens don't take PROGRAM_PREFIX and PROGRAM_SUFFIX into account when referencing libchicken
Metadata
- Id: 8cac413fa73d8592a57aa274f4e20b4a8449d1c4
- Trac id: 848
- Type: defect
- Reporter: mario
- Owner:
- Cc:
- Status: closed
- Component: build system
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2013-02-07 13:17:05 UTC
- Created: 2012-05-17 15:37:25 UTC
- Keywords: PROGRAM_PREFIX, PROGRAM_SUFFIX, libchicken
Description
In non-cross chickens, csc will attempt to use the name libchicken, even if PROGRAM_PREFIX or PROGRAM_SUFFIX has been set. This is because:
(define default-shared-library-files (list (string-append "-l" (if host-mode INSTALL_LIB_NAME TARGET_LIB_NAME))))
in csc.scm. defaults.make sets the variables in question like
INSTALL_LIB_NAME = $(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX) TARGET_LIB_NAME ?= chicken
See the thread http://lists.nongnu.org/archive/html/chicken-hackers/2012-05/msg00020.html for further details.
Changes and comments
[2012-05-17 15:42:06 UTC] mario changed description
[2013-02-07 13:17:05 UTC] mario changed status from new to closed
[2013-02-07 13:17:05 UTC] mario set resolution to fixed
[2013-02-07 13:17:05 UTC] mario wrote:
Fixed by 5fe91ae31df87b46cda0d91ec8bb4892353596ac