[Top][All Lists]

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

[Chicken-hackers] [PATCH] When referencing libchicken, take PROGRAM_PREF

From: Mario Domenech Goulart
Subject: [Chicken-hackers] [PATCH] When referencing libchicken, take PROGRAM_PREFIX into account
Date: Wed, 16 May 2012 14:12:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)


Currently, the build system names libchicken taking PROGRAM_PREFIX into
account, but the chicken tools don't.  `libchicken' is hardcoded in
chicken tools and tests.  That was causing some problems on the
cross-compiling environment I use at work.

The attached patch makes tools load libchicken according to the name
generated by the build system.  It also tries to keep tests working on
windows, in cases that libchicken has to be copied to the tests dir
(this is a bit hacky, since the actual lib name is not known from
scripts, so lib*chicken.dll is copied).

I haven't actually tested tests on windows.

Best wishes.

Attachment: 0001-When-referencing-libchicken-take-PROGRAM_PREFIX-into.patch
Description: Text Data

reply via email to

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