diff options
author | Richard Levitte <levitte@openssl.org> | 2002-01-08 09:19:31 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-01-08 09:19:31 +0000 |
commit | fd795679bbcc56980663610c8d9a62ca300b424f (patch) | |
tree | b6094df2b8594f86012727fb0e5cc558bb393a00 /Makefile.org | |
parent | e523f5f3898004b54092515ea0756d74441f096c (diff) |
Patches to make OpenSSL compilable on MacOS/X.
Submitted by Pier Fumagalli <pier@betaversion.org>
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org index 5684025ac2..0427ce9647 100644 --- a/Makefile.org +++ b/Makefile.org @@ -274,6 +274,17 @@ DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ [ -n "$$my_ld" ] && \ $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1 +# For Darwin AKA Mac OS/X (dyld) +do_darwin-shared: + libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ + ( set -x ; ${CC} --verbose -dynamiclib -o lib$$i${SHLIB_EXT} \ + lib$$i.a $$libs -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \ + -compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \ + -install_name ${INSTALLTOP}/lib/lib$$i${SHLIB_EXT} ) || exit 1; \ + libs="$$libs -l`basename $$i${SHLIB_EXT} .dylib`"; \ + echo "" ; \ + done + # This assumes that GNU utilities are *not* used do_alpha-osf1-shared: if ${DETECT_GNU_LD}; then \ |