vcpkg/ports/openssl/unix/move-openssldir.patch
Kai Pastor 9ccc64ca98
[openssl] Finish unified configuration for windows and non-windows (#27261)
* Simplify non-windows openssl build

* No static libs in dynamic triplet

* Install /etc/ssl

* Refactor common and specific setup

* Fix debug configuration

* cleanup

* Remove deprecated no-ssl2 option

e80381e1a3

* Fix absolute path

* No legacy target for debug

* Check for Perl's IPC::Cmd

* Update linux kernel headers message

* CR requests
2023-02-28 11:20:45 -08:00

16 lines
658 B
Diff

diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index dd96254..c4458ca 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -689,6 +689,10 @@ install_ssldirs:
cp $(SRCDIR)/apps/ct_log_list.cnf $(DESTDIR)$(OPENSSLDIR)/ct_log_list.cnf; \
chmod 644 $(DESTDIR)$(OPENSSLDIR)/ct_log_list.cnf; \
fi
+ $(PERL) $(SRCDIR)/util/mkdir-p.pl $(DESTDIR)$(INSTALLTOP)$(OPENSSLDIR)
+ for I in $(DESTDIR)$(OPENSSLDIR)/*; do \
+ mv $$I $(DESTDIR)$(INSTALLTOP)$(OPENSSLDIR)/; \
+ done
install_dev: install_runtime_libs
@[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)