summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2003-01-18 13:10:23 +0000
committerAndy Polyakov <appro@openssl.org>2003-01-18 13:10:23 +0000
commit5322333b7b9b35603a374f3aa2e17ba1593da4e3 (patch)
tree4ea2f85f30090ab50e3db70592c70958099f9f3e /Makefile.org
parente98823d847d7d976209d661f01e7c656c31e59e8 (diff)
Fix for AIX shared build, see RT#463.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org
index 546222dcc7..2a0d6a68ce 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -504,9 +504,10 @@ SHAREDCMD=$(CC)
do_aix-shared:
libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
( set -x; \
- ld -r -o $$i.o $(ALLSYMSFLAG) lib$$i.a && \
+ ld -r -o lib$$i.o $(ALLSYMSFLAG) lib$$i.a && \
( nm -Pg lib$$i.o | grep ' [BD] ' | cut -f1 -d' ' > lib$$i.exp; \
- $(SHAREDCMD) $(SHAREDFLAG) -o lib$$i.so lib$$i.o \
+ $(SHAREDCMD) $(SHAREDFLAGS) \
+ -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} lib$$i.o \
$$libs ${EX_LIBS} ) ) \
|| exit 1; \
libs="$$libs -l$$i"; \