diff options
author | Richard Levitte <levitte@openssl.org> | 2000-08-02 05:52:49 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-08-02 05:52:49 +0200 |
commit | bb1c9dcc3bd19c31d03227a03ad3f45f3418a706 (patch) | |
tree | cc81f67e6644a275f4f59c6c4287438c9a331bc2 | |
parent | "make update" (diff) | |
download | openssl-bb1c9dcc3bd19c31d03227a03ad3f45f3418a706.tar.xz openssl-bb1c9dcc3bd19c31d03227a03ad3f45f3418a706.zip |
It's probably a good idea to make the shared libraries depend in EX_LIBS.
-rw-r--r-- | Makefile.org | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.org b/Makefile.org index 9642da8f6a..b938ac4fe6 100644 --- a/Makefile.org +++ b/Makefile.org @@ -261,7 +261,7 @@ linux-shared: ( set -x; ${CC} -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ -Wl,-S,-soname=lib$$i.so.${SHLIB_MAJOR} \ -Wl,--whole-archive lib$$i.a \ - -Wl,--no-whole-archive $$libs -lc ) || exit 1; \ + -Wl,--no-whole-archive $$libs ${EX_LIBS} -lc ) || exit 1; \ libs="$$libs -L. -l$$i"; \ ( set -x; \ ln -s lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ @@ -274,7 +274,7 @@ true64-shared: libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ ( set -x; ${CC} -shared -no_archive -o lib$$i.so \ -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ - -all lib$$i.a -none $$libs -lc ) || exit 1; \ + -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ libs="$$libs -L. -l$$i"; \ done @@ -286,7 +286,7 @@ solaris-shared: lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR}; \ ( set -x; ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ -h lib$$i.so.${SHLIB_MAJOR} \ - -z allextract lib$$i.a $$libs -lc ) || exit 1; \ + -z allextract lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \ libs="$$libs -L. -l$$i"; \ ln -s lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ lib$$i.so.${SHLIB_MAJOR}; \ |