summaryrefslogtreecommitdiff
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-04-27 10:13:03 +0200
commit8b649446ae73f7565e8f5e984bf56bb96da0baff (patch)
tree2d10ec80d01cd407a6bdc8008150812e1eb92c17
parente154504a25385f31a27cfd9242f80569b2c908da (diff)
downloadlibusbg-8b649446ae73f7565e8f5e984bf56bb96da0baff.tar.gz
libusbg-8b649446ae73f7565e8f5e984bf56bb96da0baff.tar.bz2
libusbg-8b649446ae73f7565e8f5e984bf56bb96da0baff.zip
libusbg: Don't link libusbg 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 commit message. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
-rw-r--r--configure.ac2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f3e8597..2f7df40 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])