mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-24 06:15: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:
parent
8402c83587
commit
2fb8405476
1 changed files with 0 additions and 2 deletions
|
@ -37,8 +37,6 @@ AS_IF([test "x$with_libconfig" = xyes], [
|
||||||
AS_IF([test "x$enable_tests" = xyes], [
|
AS_IF([test "x$enable_tests" = xyes], [
|
||||||
PKG_CHECK_MODULES([CMOCKA], [cmocka >= 0.4.1],
|
PKG_CHECK_MODULES([CMOCKA], [cmocka >= 0.4.1],
|
||||||
AC_DEFINE(HAS_CMOCKA, 1, [detected cmocka]))
|
AC_DEFINE(HAS_CMOCKA, 1, [detected cmocka]))
|
||||||
CFLAGS="$CFLAGS $CMOCKA_CFLAGS"
|
|
||||||
LIBS="$LIBS $CMOCKA_LIBS"
|
|
||||||
AC_CONFIG_FILES([tests/Makefile])
|
AC_CONFIG_FILES([tests/Makefile])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(BUILD_TESTS, [test "x$enable_tests" = xyes])
|
AM_CONDITIONAL(BUILD_TESTS, [test "x$enable_tests" = xyes])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue