From 2fb8405476a57d41f712f3ac62c542c3c91a61f8 Mon Sep 17 00:00:00 2001
From: Pawel Szewczyk
Date: Tue, 14 Apr 2015 11:56:53 +0200
Subject: libusbgx: Don't link libusbgx with cmkocka
Cmocka is only needed for tests, no need for linking it
with library itself.
Signed-off-by: Pawel Szewczyk
[Update description]
Signed-off-by: Krzysztof Opasiak
---
configure.ac | 2 --
1 file changed, 2 deletions(-)
(limited to 'configure.ac')
diff --git a/configure.ac b/configure.ac
index 921d085..8a87f0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,8 +37,6 @@ AS_IF([test "x$with_libconfig" = xyes], [
AS_IF([test "x$enable_tests" = xyes], [
PKG_CHECK_MODULES([CMOCKA], [cmocka >= 0.4.1],
AC_DEFINE(HAS_CMOCKA, 1, [detected cmocka]))
- CFLAGS="$CFLAGS $CMOCKA_CFLAGS"
- LIBS="$LIBS $CMOCKA_LIBS"
AC_CONFIG_FILES([tests/Makefile])
])
AM_CONDITIONAL(BUILD_TESTS, [test "x$enable_tests" = xyes])
--
cgit v1.2.3