1
0
Fork 0
mirror of https://github.com/linux-usb-gadgets/libusbgx.git synced 2025-07-23 18:35:06 +03:00

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>
This commit is contained in:
Pawel Szewczyk 2015-04-14 11:56:53 +02:00 committed by Krzysztof Opasiak
parent 8402c83587
commit 2fb8405476

View file

@ -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])