Windows/Cygwin dlls need the executable bit set
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Wed, 13 Feb 2019 15:52:04 +0000 (16:52 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Feb 2019 19:00:28 +0000 (20:00 +0100)
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)

Configurations/unix-Makefile.tmpl

index 7705b03b8e286df29b61e98849665c2453a31091..0b744bb7af4f9d5612ea90dd1e057f24dd775972 100644 (file)
@@ -622,7 +622,7 @@ install_runtime_libs: build_libs
                : {- output_off() unless windowsdll(); "" -}; \
                $(ECHO) "install $$s -> $(DESTDIR)$(INSTALLTOP)/bin/$$fn"; \
                cp $$s $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \
-               chmod 644 $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \
+               chmod 755 $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new; \
                mv -f $(DESTDIR)$(INSTALLTOP)/bin/$$fn.new \
                      $(DESTDIR)$(INSTALLTOP)/bin/$$fn; \
                : {- output_on() unless windowsdll(); "" -}{- output_off() if windowsdll(); "" -}; \