diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 8882e6b06..2b0c009b0 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -146,7 +146,7 @@ case "${host_os}" in solaris*) thehost="sun4sol2" SHARED_LDFLAGS="-dy -G" - LDRPATH="-Wl,--rpath,~A" + LDRPATH="-Wl,-R,~A" TCPLIBS="-lsocket -lnsl -lintl" CLIBS="-ldl" ;;