From: Mihai Moldovan Date: Tue, 29 Sep 2020 16:30:16 +0000 (+0200) Subject: [PATCH] Use static libcheck version. X-Git-Tag: archive/raspbian/0.73.1-3+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0b48b006368b1081c63f799c90bc92fe02f571f;p=libdnf.git [PATCH] Use static libcheck version. Within Debian, only the static libcheck library is shipped. Use it correctly, since the static library requires additional private libraries and definitions. Gbp-Pq: Name 0002-Use-static-libcheck-version.patch --- diff --git a/tests/hawkey/CMakeLists.txt b/tests/hawkey/CMakeLists.txt index 29402d6..601bb4b 100644 --- a/tests/hawkey/CMakeLists.txt +++ b/tests/hawkey/CMakeLists.txt @@ -29,6 +29,8 @@ set_target_properties(test_hawkey_main PROPERTIES COMPILE_FLAGS -fPIC) target_link_libraries(test_hawkey_main libdnf ${CHECK_LDFLAGS} + ${CHECK_STATIC_LIBRARIES} + ${CHECK_STATIC_LDFLAGS} ${SOLV_LIBRARY} ${SOLVEXT_LIBRARY} ${RPMDB_LIBRARY}