[Olsr-dev] [PATCH v2 1/2] linux: use /usr/lib64 on 64bit machines if it exists

Henning Rogge (spam-protected)
Fri May 11 12:37:46 CEST 2012


On 05/11/2012 12:35 PM, Ferry Huberts wrote:
>
>
> On 11-05-12 12:27, Henning Rogge wrote:
>> On 05/11/2012 12:26 PM, Ferry Huberts wrote:
>>> my change will only use lib64 when the system on which the compilation
>>> is performed has a lib64
>>
>> But thats wrong... whats important is the target system, not the
>> compiler platform (which are different with crosscompilation).
>>
>> the new script will use lib64 on your Fedora64, even when crosscompiling
>> for android (for example).
>>
>> Henning Rogge
>>
>
>
> then we must solve it differently because when I do a
> make DESTDIR=/some/path/for/packaging install_all
> then lib64 is never used, which is wrong as well

If your /some/path/for/packaging contains a usr/lib64 subdirectory, 
OLSRd will use it. If not, it will not. I don't see anything wrong with 
this.

the current code also prevents crosscompiling the 32 Bit version on a 
Fedora 64 Bit system.

Henning Rogge

-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6156 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120511/1a6875f4/attachment.bin>


More information about the Olsr-dev mailing list