Opened 12 years ago

Closed 11 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 Mario Domenech Goulart)

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

TARGET_LIB_NAME ?= chicken

See the thread for further details.

Change History (2)

comment:1 Changed 12 years ago by Mario Domenech Goulart

Description: modified (diff)

comment:2 Changed 11 years ago by Mario Domenech Goulart

Resolution: fixed
Status: newclosed

Fixed by 5fe91ae31df87b46cda0d91ec8bb4892353596ac

Note: See TracTickets for help on using tickets.