[ltt-dev] [UST PATCH] Fix static link with safe snprintf
Mathieu Desnoyers
mathieu.desnoyers at polymtl.ca
Sat Mar 26 11:14:32 EDT 2011
* David Goulet (david.goulet at polymtl.ca) wrote:
> Signed-off-by: David Goulet <david.goulet at polymtl.ca>
Is that a "static" or "dynamic" link ?
.la is usually for dynamic linking, no ?
Mathieu
> ---
> 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
>
> libustctl_la_CFLAGS = -DUST_COMPONENT="libustctl" -fno-strict-aliasing
> --
> 1.7.4.1
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list