diff options
author | Richard Levitte <levitte@openssl.org> | 2005-05-21 16:41:34 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-05-21 16:41:34 +0000 |
commit | 447aa49007388f08528e03db7583574b7896c8a9 (patch) | |
tree | ad5dbfb7cd76c916788a7cc442672624234783d5 /engines | |
parent | fe977f75129f4e1b4ad08fab837fa2d90893ed07 (diff) | |
download | openssl-447aa49007388f08528e03db7583574b7896c8a9.tar.gz |
Patches for Cygwin, provided by Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'engines')
-rw-r--r-- | engines/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/Makefile b/engines/Makefile index d415a1c85b..bf19edfe0b 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -82,14 +82,19 @@ files: links: # XXXXX This currently only works on systems that use .so as suffix -# for shared libraries. +# for shared libraries as well as for Cygwin which uses the +# dlfcn_name_converter and therefore stores the engines with .so suffix, too. install: @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... @if [ -n "$(SHARED_LIBS)" ]; then \ set -e; \ for l in $(LIBNAMES); do \ ( echo installing $$l; \ - cp lib$$l.so $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \ + if [ "$(PLATFORM)" != "Cygwin" ]; then \ + cp lib$$l.so $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \ + else \ + cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \ + fi; \ chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \ mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so ); \ done; \ |