diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2014-11-04 12:24:56 +0000 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-08 22:15:07 +0100 |
commit | 79d390aa0a1f5001b54d98e6b788f32f1243c0c1 (patch) | |
tree | e48a691b5ae8d2f79b51efc873b0c45917726bd3 /package/python-netifaces/python-netifaces.mk | |
parent | a1f4227d96ae660606fd678856f8917b1bc221e0 (diff) | |
download | buildroot-79d390aa0a1f5001b54d98e6b788f32f1243c0c1.tar.gz buildroot-79d390aa0a1f5001b54d98e6b788f32f1243c0c1.zip |
libiscsi: only build the test tool and ld-iscsi if we have shared libs
Backporting an upstream patch to fix a failure when doing a static
build:
/br/output/host/usr/bin/mipsel-ctng-linux-uclibc-gcc -shared -o
ld_iscsi.so ld_iscsi.o -ldl
/br/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-ctng-linux-uclibc/4.8.2/../../../../mipsel-ctng-linux-uclibc/bin/ld:
ld_iscsi.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be
used when making a shared object; recompile with -fPIC
ld_iscsi.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
Upstream commit:
https://github.com/sahlberg/libiscsi/commit/3d6c2be3428d88682cecfa2a4ad172aaacffb318
Fixes:
http://autobuild.buildroot.net/results/7a9/7a9caf1f4080c2c4b04ee3b13c1240f475a22ea7/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-netifaces/python-netifaces.mk')
0 files changed, 0 insertions, 0 deletions