rabbitmq-server: security bump to version 3.6.6
[buildroot-gz.git] / package / xfsprogs / 0001-mdrestore-do-not-do-dynamic-linking-of-libtool-libra.patch
blob4e4160fb4089c0384cc8facf3dffaa525b35e68c
1 From 770902a0a29fb4ac62358f7eacb3a83d0d9af1c7 Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Wed, 25 Nov 2015 10:50:00 +0000
4 Subject: [PATCH] mdrestore: do not do dynamic linking of libtool libraries
6 As explained in commit ece49daeff1a3cad765e106d678c608925c9d768, use
7 -static-libtool-libs instead of -static to allow fallback to the dynamic
8 linking for libuuid only. Otherwise the build will fail like this:
10 ld: attempted static link of dynamic object `/usr/lib/libuuid.so'
12 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
13 [Sent upstream: http://oss.sgi.com/pipermail/xfs/2015-November/045136.html]
14 ---
15 mdrestore/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/mdrestore/Makefile b/mdrestore/Makefile
19 index 5171306..1b34a0e 100644
20 --- a/mdrestore/Makefile
21 +++ b/mdrestore/Makefile
22 @@ -10,7 +10,7 @@ CFILES = xfs_mdrestore.c
24 LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID)
25 LTDEPENDENCIES = $(LIBXFS)
26 -LLDFLAGS = -static
27 +LLDFLAGS = -static-libtool-libs
29 default: depend $(LTCOMMAND)
31 --
32 2.7.4