Opened 13 years ago
Closed 12 years ago
#848 closed defect (fixed)
non-cross chickens don't take PROGRAM_PREFIX and PROGRAM_SUFFIX into account when referencing libchicken
Reported by: | Mario Domenech Goulart | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.9.0 |
Component: | build system | Version: | 4.7.x |
Keywords: | PROGRAM_PREFIX, PROGRAM_SUFFIX, libchicken | Cc: | |
Estimated difficulty: |
Description (last modified by )
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.
Change History (2)
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed by 5fe91ae31df87b46cda0d91ec8bb4892353596ac