libkrb5: disable rpath
authorBaruch Siach <baruch@tkos.co.il>
Sun, 13 May 2018 18:37:59 +0000 (21:37 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 May 2018 19:39:40 +0000 (21:39 +0200)
The default rpath value for krb5 is /usr/lib. On some hosts this might
confuse the build time linker as it looks for target libraries in the
host /usr/lib directory.

Should fix:
http://autobuild.buildroot.net/results/6df/6df84ed325ddd92248741d2f4737423b1b999489/
http://autobuild.buildroot.net/results/049/049f5147288b418402b6e5a4181eff4d426c8d7a/
http://autobuild.buildroot.net/results/432/432d5d0295f77cd34b78e70e8b4b7d77ef19ae3c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libkrb5/libkrb5.mk

index c40be632786ba46b5f5a889e4c7bb28d43d59085..d9d7160ae8d554df6bf4ffb7bf30da2d6d7e1bb3 100644 (file)
@@ -28,7 +28,8 @@ LIBKRB5_CONF_OPTS = \
        --without-system-et \
        --without-system-ss \
        --without-system-verto \
-       --without-tcl
+       --without-tcl \
+       --disable-rpath
 
 ifeq ($(BR2_PACKAGE_OPENLDAP),y)
 LIBKRB5_CONF_OPTS += --with-ldap