Oy, here's an updated patch that includes the -brtl option so that "openssl" 
will use the shared libs and not be statically linked, unless someone thinks 
that this object should be statically linked.


Cheers,

Bill


---- Original message ----
>Date: Wed, 13 Jun 2007 11:56:16 +0200 (CEST)
>From: "The default queue via RT" <[EMAIL PROTECTED]>  
>Subject: [openssl.org #1538] AutoReply: PATCH: AIX 5.x building shared libs 
>for cc/gcc   
>To: [EMAIL PROTECTED]
>
>
>Greetings,
>
>This message has been automatically generated in response to the
>creation of a trouble ticket regarding:
>       "PATCH: AIX 5.x building shared libs for cc/gcc", 
>a summary of which appears below.
>
>There is no need to reply to this message right now.  Your ticket has been
>assigned an ID of [openssl.org #1538].
>
>Please include the string:
>
>         [openssl.org #1538]
>
>in the subject line of all future correspondence about this issue. To do so, 
>you may reply to this message.
>
>                        Thank you,
>                        [EMAIL PROTECTED]
>
>-------------------------------------------------------------------------
>The attached files are patches for Configure and Makefile.shared. These should 
>complete the support needed for AIX 32-bit shared objects for both cc and gcc.
>
>I'm still investigating the 64-bit flavor.
>
>
>Cheers,
>
>Bill

--- Makefile.shared.orig        2007-06-12 09:05:21.000000000 -0400
+++ Makefile.shared     2007-06-12 15:46:34.000000000 -0400
@@ -6,7 +6,7 @@
 # properly
 
 # CC contains the current compiler.  This one MUST be defined
-CC=cc
+CC=$(CC)
 CFLAGS=$(CFLAG)
 # LDFLAGS contains flags to be used when temporary object files (when building
 # shared libraries) are created, or when an application is linked.
@@ -491,7 +491,7 @@
        SHLIB_SUFFIX=; \
        ALLSYMSFLAGS='-bnogc'; \
        NOALLSYMSFLAGS=''; \
-       SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -G -bE:lib$(LIBNAME).exp -bM:SRE'; \
+       SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-G,-bE:lib$(LIBNAME).exp'; \
        $(LINK_SO_O); rm -rf lib$(LIBNAME).exp
 link_a.aix:
        @ $(CALC_VERSIONS); \
@@ -501,10 +501,10 @@
        SHLIB_SUFFIX=; \
        ALLSYMSFLAGS='-bnogc'; \
        NOALLSYMSFLAGS=''; \
-       SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -G -bE:lib$(LIBNAME).exp -bM:SRE'; \
+       SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-G,-bE:lib$(LIBNAME).exp'; \
        $(LINK_SO_A_VIA_O)
 link_app.aix:
-       LDFLAGS="$(CFLAGS) -blibpath:$(LIBRPATH):$${LIBPATH:-/usr/lib:/lib}"; \
+       LDFLAGS="$(CFLAGS) -Wl,-blibpath:$(LIBRPATH):$${LIBPATH:-/usr/lib:/lib},-brtl"; \
        $(LINK_APP)
 
 link_o.reliantunix:

Reply via email to