summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPawel Szewczyk <p.szewczyk@samsung.com>2015-04-14 11:56:53 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2015-12-22 21:45:35 +0100
commit2fb8405476a57d41f712f3ac62c542c3c91a61f8 (patch)
tree60c57fc21284a539b5db173b448a416b1141c8d0 /configure.ac
parent8402c83587b88d04bb3305a788a5fcd6e957e261 (diff)
downloadlibusbg-2fb8405476a57d41f712f3ac62c542c3c91a61f8.tar.gz
libusbg-2fb8405476a57d41f712f3ac62c542c3c91a61f8.tar.bz2
libusbg-2fb8405476a57d41f712f3ac62c542c3c91a61f8.zip
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 <p.szewczyk@samsung.com> [Update description] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 0 insertions, 2 deletions
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])