From 01cbe2e4b35a93cc7ed415d4868d9a4c3f6724f2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Jan 21 2020 06:43:24 +0000 Subject: check ref to static lib in cmake files --- diff --git a/libmongocrypt.spec b/libmongocrypt.spec index c6729aa..bdbd6ac 100644 --- a/libmongocrypt.spec +++ b/libmongocrypt.spec @@ -79,6 +79,11 @@ doxygen ./doc/Doxygen %check make test +if grep -r static %{buildroot}%{_libdir}/cmake; then + : cmake configuration file contain reference to static library + exit 1 +fi + %files %license LICENSE