diff options
Diffstat (limited to 'Makefile.shared')
-rw-r--r-- | Makefile.shared | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.shared b/Makefile.shared index fb740c9e32..03d091e87d 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -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: |