summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Walle <walle@corscience.de>2012-02-16 12:47:58 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-02-18 20:20:54 +0100
commit8de5c089375712d61a16d87a5dfb15f40a12ea1a (patch)
tree7a15736132eb98b925c7669690d73f2f3ada10d3
parentaef1ce347e0a531921081c19e1080f11c8ca287c (diff)
downloadptxdist-8de5c089375712d61a16d87a5dfb15f40a12ea1a.tar.gz
ptxdist-8de5c089375712d61a16d87a5dfb15f40a12ea1a.tar.xz
host-e2fsprogs: don't install libraries
If both the host-e2fsprogs and host-util-linux-ng are enabled (both provide libuuid), I get following link error on a x86-64 Linux host when host-e2fsprogs is built before host-util-linux-ng: ------------- 8< -------------- libtool: install: (cd /home/bwalle/devel/xxxx/linux_rootfs/platform-yyyy/build-host/util-linux-2.19.1/shlibs/mount/src; /bin/sh /home/bwalle/devel/xxxx/linux_rootfs/platform-yyyy/build-host/util-linux-2.19.1/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -fsigned-char -g -O2 -Wl,--version-script=../../../shlibs/mount/src/libmount.sym -version-info 2:0:1 -L/home/bwalle/devel/xxxx/linux_rootfs/platform-yyyy/sysroot-host/lib -Wl,-rpath -Wl,/home/bwalle/devel/xxxx/linux_rootfs/platform-yyyy/sysroot-host/lib -Wl,-rpath -Wl,/this/is/a/long/path/to/make/host/tools/relocateable/with/chrpath/when/using/dev/packages -o libmount.la -rpath /lib version.lo utils.lo test.lo init.lo cache.lo optstr.lo optmap.lo iter.lo lock.lo fs.lo tab.lo tab_parse.lo tab_update.lo context.lo context_mount.lo context_umount.lo at.lo mangle.lo canonicalize.lo strutils.lo env.lo ../../../shlibs/blkid/src/libblkid.la -inst-prefix-dir /home/bwalle/devel/xxxx/linux_rootfs/platform-yyyy/packages/host-util-linux-2.19.1) /usr/bin/ld: /home/bwalle/devel/xxxx/linux_rootfs/platform-yyyy/sysroot-host/lib/libblkid.a(cache.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ------------- >8 -------------- The problem is fixed when the libraries of host-e2fsprogs are not installed. Signed-off-by: Bernhard Walle <walle@corscience.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-e2fsprogs.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/host-e2fsprogs.make b/rules/host-e2fsprogs.make
index a32ff3c8b..156a4e049 100644
--- a/rules/host-e2fsprogs.make
+++ b/rules/host-e2fsprogs.make
@@ -30,7 +30,7 @@ HOST_E2FSPROGS_ENV := $(HOST_ENV)
# autoconf
#
HOST_E2FSPROGS_AUTOCONF := $(HOST_AUTOCONF)
-HOST_E2FSPROGS_INSTALL_OPT := install install-libs
+HOST_E2FSPROGS_INSTALL_OPT := install
# vim: syntax=make