From d27e9a379ba24d215b73d3bd3c606a3f6833ecd2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 16 Mar 2018 16:54:40 +0000 Subject: Do not link eos-profile with libendless We don't depend on any specific Endless SDK symbols, and if we link against the SDK library itself we end up enabling the profiling probes; this means we may end up overwriting the profiling data we're trying to open, if by any chance we have `EOS_PROFILE=capture:` in our environment pointing to the profile data we're opening. --- tools/Makefile.am.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile.am.inc b/tools/Makefile.am.inc index 145acad..8dce229 100644 --- a/tools/Makefile.am.inc +++ b/tools/Makefile.am.inc @@ -71,4 +71,4 @@ eos_profile_CPPFLAGS = \ $(NULL) eos_profile_CFLAGS = $(AM_CFLAGS) -eos_profile_LDADD = $(top_builddir)/libendless-@EOS_SDK_API_VERSION@.la -lm @EOS_SDK_LIBS@ +eos_profile_LDADD = -lm @EOS_SDK_LIBS@ -- cgit v1.2.3