Re: [PATCH] m4: fix --disable-rpath for AIX

2020-02-17 Thread CHIGOT, CLEMENT
Hi Bruno, >> Currently, --disable-rpath will add directly $found_so to the compilation >> line. However, on AIX, this will result on the path being hardcoded in >> the built binaries. >> The only way to avoid hardcoded paths without using linker flags (like >> -Wl,-bnoipath) is to add -l$name. >

Re: [PATCH] m4: fix --disable-rpath for AIX

2020-02-16 Thread Bruno Haible
Hi Clement, > Currently, --disable-rpath will add directly $found_so to the compilation > line. However, on AIX, this will result on the path being hardcoded in > the built binaries. > The only way to avoid hardcoded paths without using linker flags (like > -Wl,-bnoipath) is to add -l$name. Can y

[PATCH] m4: fix --disable-rpath for AIX

2020-02-10 Thread CHIGOT, CLEMENT
Currently, --disable-rpath will add directly $found_so to the compilation line. However, on AIX, this will result on the path being hardcoded in the built binaries. The only way to avoid hardcoded paths without using linker flags (like -Wl,-bnoipath) is to add -l$name. --- m4/lib-link.m4 | 7 +