diff options
author | Richard Levitte <levitte@openssl.org> | 2002-10-11 08:45:42 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-10-11 08:45:42 +0000 |
commit | c199837c542ac45195253c38899c9fa4f4db00b7 (patch) | |
tree | 7c0c9abf3876e3c2ebd855cdc439fade0c1a65f4 /Makefile.shared | |
parent | 83699c4784552a327abc2d0432d9f75cdd6976e0 (diff) | |
download | openssl-c199837c542ac45195253c38899c9fa4f4db00b7.tar.gz |
Fix inconsistencies in the Darwin targets.
Add a variant of SHLIB_SOVER without the preceding period.
Diffstat (limited to 'Makefile.shared')
-rw-r--r-- | Makefile.shared | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.shared b/Makefile.shared index 9f8c33d288..d5bafc339f 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -64,6 +64,7 @@ CALC_VERSIONS= \ if [ -n "$(LIBVERSION) $(LIBCOMPATVERSIONS)" ]; then \ prev=""; \ for v in `echo "$(LIBVERSION) $(LIBCOMPATVERSIONS)" | cut -d';' -f1`; do \ + SHLIB_SOVER_NODOT=$$v \ SHLIB_SOVER=.$$v; \ if [ -n "$$prev" ]; then \ SHLIB_COMPAT=$$SHLIB_COMPAT .$$prev; \ @@ -133,17 +134,17 @@ link_o.darwin: LIBDEPS="$(LIBDEPS)" \ ALLSYMSFLAGS='-all_load' \ NOALLSYMSFLAGS='' \ - SHAREDFLAGS="-current_version $(LIBVERSION) -compatibility_version $$SHLIB_SOVER" \ + SHAREDFLAGS="-dynamiclib -current_version $(LIBVERSION) -compatibility_version $$SHLIB_SOVER_NODOT" \ SHAREDCMD='$(CC)'; \ $(LINK_SO_O) link_a.darwin: @ $(CALC_VERSIONS); \ - SHLIB=lib$(LIBNAME)$$SHLIB_SOVER.dylib \ + SHLIB=lib$(LIBNAME) \ SHLIB_SUFFIX=.dylib \ LIBDEPS="$(LIBDEPS)" \ ALLSYMSFLAGS='-all_load' \ NOALLSYMSFLAGS='' \ - SHAREDFLAGS="-dynamiclib -current_version $(LIBVERSION) -compatibility_version $$SHLIB_SOVER" \ + SHAREDFLAGS="-dynamiclib -current_version $(LIBVERSION) -compatibility_version $$SHLIB_SOVER_NODOT" \ SHAREDCMD='$(CC)'; \ $(LINK_SO_A) |