]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
We should not remove symlinks in submodules
authorDmitry Belyavskiy <beldmit@gmail.com>
Sat, 16 Aug 2025 15:21:42 +0000 (17:21 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Mon, 18 Aug 2025 09:14:14 +0000 (11:14 +0200)
Fixes #28285

Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28286)

Configurations/unix-Makefile.tmpl

index b13fb5dd4806efacf56bc025e055028d6506658d..70ac47b73c68e12dde0cdd254029785eb26deb8b 100644 (file)
@@ -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