[ltt-dev] [UST PATCH] Fix dynamic link with safe snprintf

Nils Carlson nils.carlson at ludd.ltu.se
Mon Mar 28 17:07:36 EDT 2011


On Mar 28, 2011, at 8:59 PM, David Goulet wrote:

> Signed-off-by: David Goulet <david.goulet at polymtl.ca>
> ---
> libustctl/Makefile.am |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/libustctl/Makefile.am b/libustctl/Makefile.am
> index bc7526b..153a5bd 100644
> --- a/libustctl/Makefile.am
> +++ b/libustctl/Makefile.am
> @@ -9,6 +9,7 @@ libustctl_la_SOURCES = \
> libustctl_la_LDFLAGS = -no-undefined -version-info 0:0:0
>
> libustctl_la_LIBADD = \
> -	$(top_builddir)/libustcomm/libustcomm.la
> +	$(top_builddir)/libustcomm/libustcomm.la \
> +	$(top_builddir)/snprintf/libustsnprintf.la

Why do we need this link? What calls does libustctl make into  
libustsnprintf?

/Nils

>
> libustctl_la_CFLAGS = -DUST_COMPONENT="libustctl" -fno-strict-aliasing
> -- 
> 1.7.4.2
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev





More information about the lttng-dev mailing list