[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] link error with PROGRAM_PREFIX and compiling eggs
From: |
Felix |
Subject: |
Re: [Chicken-users] link error with PROGRAM_PREFIX and compiling eggs |
Date: |
Fri, 10 May 2013 11:54:10 +0200 (CEST) |
>> Can you show us the output of "foo-chicken-bug"?
>>
Thanks, Alan.
As a quick fix, does the following help, when you rebuild and reinstall?
diff --git a/defaults.make b/defaults.make
index 9bb2baf..5595820 100644
--- a/defaults.make
+++ b/defaults.make
@@ -134,12 +134,13 @@ TARGET_LIBRARIES ?= $(LIBRARIES)
TARGET_LINKER_OPTIONS ?= $(LINKER_OPTIONS)
TARGET_LINKER_OPTIMIZATION_OPTIONS ?= $(LINKER_OPTIMIZATION_OPTIONS)
TARGET_FEATURES ?=
-TARGET_LIB_NAME ?= chicken
ifneq ($(TARGET_C_COMPILER),$(C_COMPILER))
CROSS_CHICKEN = 1
+TARGET_LIB_NAME ?= chicken
else
CROSS_CHICKEN = 0
+TARGET_LIB_NAME ?= $(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)
endif
cheers,
felix