From 8e579752192d61f034ccc0f4045d98123fcca909 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 19 Nov 2004 21:27:42 +0000 Subject: Clean up rpath handling for HPUX --- we can't use the cc-style rpath switch syntax when calling ld directly. --- src/makefiles/Makefile.hpux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/makefiles') diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux index 4a1e551ec1..4c40710558 100644 --- a/src/makefiles/Makefile.hpux +++ b/src/makefiles/Makefile.hpux @@ -19,9 +19,9 @@ LIBS := -lxnet $(LIBS) # Set up rpath so that the executables don't need SHLIB_PATH to be set. # (Note: --disable-rpath is a really bad idea on this platform...) ifeq ($(with_gnu_ld), yes) - rpath = -Wl,-rpath,$(rpathdir) + rpath = -Wl,-rpath -Wl,$(rpathdir) else - rpath = -Wl,+b,$(rpathdir) + rpath = -Wl,+b -Wl,$(rpathdir) endif # catch null pointer dereferences -- cgit v1.2.1