From fac33835d9bb5341be29c151405ba93dacc2d16f Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Tue, 6 Mar 2012 17:32:27 -0500 Subject: [PATCH] Add babeltrace libs to configure script Signed-off-by: Yannick Brosseau --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 58af406b..df558459 100644 --- a/configure.ac +++ b/configure.ac @@ -122,8 +122,12 @@ PKG_CHECK_MODULES(GMODULE, [$pkg_modules]) pkg_modules="gobject-2.0 >= 2.0.0" PKG_CHECK_MODULES(GOBJECT, [$pkg_modules]) -LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS" +# Todo add test for babeltrace pkg-config +BABELTRACE_LIBS="-lbabeltrace -lbabeltrace-ctf" + +LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS $BABELTRACE_LIBS" PACKAGE_CFLAGS="$GTK_CFLAGS $GOBJECT_CFLAGS $GMODULE_CFLAGS -Wall -Wformat-security" + MODULE_CFLAGS="$PACKAGE_CFLAGS -fvisibility=hidden" MODULE_LDFLAGS="-module -avoid-version" AC_SUBST([PACKAGE_CFLAGS]) -- 2.34.1