make update (libeay.num has been edited to match 0.9.7-stable)
[openssl.git] / Makefile.org
index c05fa0587cdbc33d8b0bf2d68e0d6ac0e7ed6227..736a178772522e6e0fd72ddb95b7dcd86e7054f8 100644 (file)
@@ -240,7 +240,7 @@ clean-shared:
                        done; \
                fi; \
                ( set -x; rm -f lib$$i$(SHLIB_EXT) ); \
-               if [ "$(PLATFORM)" = "CygWin32" ]; then \
+               if [ "$(PLATFORM)" = "Cygwin" ]; then \
                        ( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \
                fi; \
        done
@@ -266,6 +266,7 @@ do_gnu-shared:
        ( set -x; ${CC} ${SHARED_LDFLAGS} \
                -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
                -Wl,-soname=lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+               -Wl,-Bsymbolic \
                -Wl,--whole-archive lib$$i.a \
                -Wl,--no-whole-archive $$libs ${EX_LIBS} -lc ) || exit 1; \
        libs="$$libs -l$$i"; \
@@ -292,6 +293,7 @@ do_darwin-shared:
 do_cygwin-shared:
        libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
        ( set -x; ${CC}  -shared -o cyg$$i.dll \
+               -Wl,-Bsymbolic \
                -Wl,--whole-archive lib$$i.a \
                -Wl,--out-implib,lib$$i.dll.a \
                -Wl,--no-whole-archive $$libs ) || exit 1; \
@@ -703,7 +705,7 @@ install: all install_docs
                do \
                        if [ -f "$$i" -o -f "$$i.a" ]; then \
                        (       echo installing $$i; \
-                               if [ "$(PLATFORM)" != "CygWin32" ]; then \
+                               if [ "$(PLATFORM)" != "Cygwin" ]; then \
                                        cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
                                        chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \
                                else \