arsv / perl-cross

configure and cross-compile perl
Other
81 stars 28 forks source link

configure_path.sh: do not hardcode $prefix/lib as library path #123

Closed kanavin closed 2 years ago

kanavin commented 2 years ago

In some environments 'lib' is not actually the desired installation path.

arsv commented 2 years ago

What's the problem being solved? Is it just to support lib64/lib32?

kanavin commented 2 years ago

Yes, particularly multilib scenarios where both 32 and 64 bit libraries need to be installed.

kanavin commented 2 years ago

There's also x32 abi on intel hardware, and n32 ABI on mips.

arsv commented 2 years ago

Usage with vendorprefix: -Dlibdir=/usr/lib32 -Dvendorlibdir=/usr/lilb32