From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: xfs@oss.sgi.com
Subject: Re: [PATCH xfsprogs] mdrestore: do not do dynamic linking of libtool libraries
Date: Mon, 30 Nov 2015 13:25:35 +0000 [thread overview]
Message-ID: <565C4E4F.4060303@imgtec.com> (raw)
In-Reply-To: <1448449838-47261-1-git-send-email-Vincent.Riera@imgtec.com>
ping
On 25/11/15 11:10, Vicente Olivert Riera wrote:
> As explained in commit ece49daeff1a3cad765e106d678c608925c9d768, use
> -static-libtool-libs instead of -static to allow fallback to the dynamic
> linking for libuuid only. Otherwise the build will fail like this:
>
> ld: attempted static link of dynamic object `/usr/lib/libuuid.so'
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> mdrestore/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mdrestore/Makefile b/mdrestore/Makefile
> index 5171306..1b34a0e 100644
> --- a/mdrestore/Makefile
> +++ b/mdrestore/Makefile
> @@ -10,7 +10,7 @@ CFILES = xfs_mdrestore.c
>
> LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID)
> LTDEPENDENCIES = $(LIBXFS)
> -LLDFLAGS = -static
> +LLDFLAGS = -static-libtool-libs
>
> default: depend $(LTCOMMAND)
>
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2015-11-30 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 11:10 [PATCH xfsprogs] mdrestore: do not do dynamic linking of libtool libraries Vicente Olivert Riera
2015-11-30 13:25 ` Vicente Olivert Riera [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565C4E4F.4060303@imgtec.com \
--to=vincent.riera@imgtec.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox