lib/util: Fix build for lttng libraries that does not support tracef
authorChristof Schmitt <cs@samba.org>
Thu, 8 Sep 2016 21:03:02 +0000 (14:03 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 27 Sep 2017 20:11:11 +0000 (22:11 +0200)
commit575f1e2bf51131709f55d565568198f56a0cbdda
treee84eee82c6fcb2aa69a618b478116ef0d77fce1e
parent0ac94ad963111663813c0a3739d5289ac0a61ba8
lib/util: Fix build for lttng libraries that does not support tracef

On a system that has older lttng-ust development headers installed that
do not yet provide the tracef api, configure fails with:

Checking for library lttng-ust : yes
ERROR: Target 'lttng-ust' in directory /samba/lib/util re-defined as EMPTY - was SYSLIB

Fix the initialization order in waf, to not redefine the lttng-ust
target

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/util/wscript_configure