Message ID | 20161129100724.15207-2-stefanha@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/configure b/configure index 5e66828..89df5c4 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)