[csw-maintainers] [GAR] libdir vs BUILD64
Dagobert Michelsen
dam at opencsw.org
Mon Mar 7 07:32:30 CET 2011
Hi Ben,
Am 07.03.2011 um 03:52 schrieb Ben Walton:
> Excerpts from Maciej Bliziński's message of Sat Mar 05 05:52:13 -0500 2011:
>> libdir = $(prefix)/lib/foo
>>
>> It works for the 32-bit build. When BUILD64 is set to 1, libdir is
>> apparently reset to /opt/csw/lib/sparcv9:
>>
>> /opt/csw/lib/sparcv9/liblightcomp.so
>>
>> What's the proper way of handling custom libdir for 64-bit builds?
>
> A quick skim of the gar code for the relocations makes me wonder if
> this is a glitch related to the merge-relocated* targets and the
> mergebase function?
Nope, but it is the wrong variable to overwrite: "libdir" is
the exact variable passed to configure in $DIRPATHS. To set the
base and to allow isa-specific extensions there is an additional
set called "libdir_install", "bindir_install", "libexec_installed"
and "sbindir_install".
Best regards
-- Dago
More information about the maintainers
mailing list