summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-11-29 10:21:33 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2016-11-29 10:21:33 +0000
commit38e532aa7430ddf5177ff32bc3bb5f115449b0ec (patch)
treefa44361f56ff59df56d7bb4f107ef32e1de5a10e
parentc5b95f6be72da7f10597f8a5d42ba0ff41901f36 (diff)
parentc79ed23df5090294a81fd66f67632e4535fb3164 (diff)
downloadqemu-38e532aa7430ddf5177ff32bc3bb5f115449b0ec.tar.gz
Merge remote-tracking branch 'public/tags/tracing-pull-request' into staging
# gpg: Signature made Tue 29 Nov 2016 10:07:16 AM GMT # gpg: using RSA key 0x9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * public/tags/tracing-pull-request: configure: fix LTTng UST tracing backend detection Message-id: 20161129100724.15207-1-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 5e66828e64..89df5c44ae 100755
--- a/configure
+++ b/configure
@@ -4305,11 +4305,11 @@ if have_backend "ust"; then
#include <lttng/tracepoint.h>
int main(void) { return 0; }
EOF
- if compile_prog "" "" ; then
+ if compile_prog "" "-Wl,--no-as-needed -ldl" ; then
if $pkg_config lttng-ust --exists; then
lttng_ust_libs=$($pkg_config --libs lttng-ust)
else
- lttng_ust_libs="-llttng-ust"
+ lttng_ust_libs="-llttng-ust -ldl"
fi
if $pkg_config liburcu-bp --exists; then
urcu_bp_libs=$($pkg_config --libs liburcu-bp)