AIX -blibpath is not accumulative, one apparently has to specify even
authorAndy Polyakov <appro@openssl.org>
Wed, 9 Nov 2005 17:28:22 +0000 (17:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 9 Nov 2005 17:28:22 +0000 (17:28 +0000)
self-obvious /usr/lib:/lib.
PR: 1239

Makefile.shared

index fb740c9e3218029675304472472a9b4dfbc6782f..03d091e87d9d06bc98ba6b08d124dab0a07d0011 100644 (file)
@@ -504,7 +504,7 @@ link_a.aix:
        SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -G -bE:lib$(LIBNAME).exp -bM:SRE'; \
        $(LINK_SO_A_VIA_O)
 link_app.aix:
-       LDFLAGS="$(CFLAGS) -blibpath:$(LIBRPATH)"; \
+       LDFLAGS="$(CFLAGS) -blibpath:$(LIBRPATH):$${LIBPATH:-/usr/lib:/lib}"; \
        $(LINK_APP)
 
 link_o.reliantunix: