From: Dmitry Belyavskiy Date: Sat, 16 Aug 2025 15:21:42 +0000 (+0200) Subject: We should not remove symlinks in submodules X-Git-Tag: openssl-3.6.0-alpha1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec435695e9d0cf16fc2d3464ea5317cee637db0;p=thirdparty%2Fopenssl.git We should not remove symlinks in submodules Fixes #28285 Reviewed-by: Hugo Landau Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/28286) --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index b13fb5dd480..70ac47b73c6 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -636,7 +636,7 @@ clean: libclean ## Clean the workspace, keep the configuration $(RM) tags TAGS doc-nits md-nits $(RM) -r test/test-runs $(RM) providers/fips*.new - -find . -type l \! -name '.*' -exec $(RM) {} \; + -find . -type l \! -name '.*' \! -wholename './pkcs11-provider/*' -exec $(RM) {} \; distclean: clean ## Clean and remove the configuration $(RM) include/openssl/configuration.h