Windows/Cygwin dlls need the executable bit set
CLA: trivial
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8226)
(cherry picked from commit fa63e45262971b9c2a6aeb33db8c52a5a84fc8b5)
Michael Haubenwallner authored 5 years ago
Richard Levitte committed 5 years ago
650 | 650 | : {- output_off() unless windowsdll(); "" -}; \ |
651 | 651 | $(ECHO) "install $$s -> $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \ |
652 | 652 | cp $$s $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \ |
653 | chmod 644 $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \ | |
653 | chmod 755 $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \ | |
654 | 654 | mv -f $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new \ |
655 | 655 | $(DESTDIR)$(INSTALLTOP)/bin/$$fn; \ |
656 | 656 | : {- output_on() unless windowsdll(); "" -}{- output_off() if windowsdll(); "" -}; \ |