Work around "make[2]: *** No rule to make target `library/libmbedtls.so', needed by `tests/test_suite_aes.cbc.c'. Stop." on RHEL 5

epel9
Robert Scheck 9 years ago
parent c383a9048a
commit b058987824

@ -80,6 +80,11 @@ sed -e 's/-Wlogical-op//' -i CMakeLists.txt
%build
%cmake -D CMAKE_BUILD_TYPE:String="Release" -D USE_SHARED_MBEDTLS_LIBRARY:BOOL=1 .
%if 0%{?rhel} == 5
sed -e 's/libmbedtls.so$/libmbedtls.so.%{version}/' -i tests/CMakeFiles/test_suite_*.dir/build.make
%endif
make %{?_smp_mflags} all apidoc
%install

Loading…
Cancel
Save