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

Makefile.shared

index fb740c9..03d091e 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: