summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.hpux
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefiles/Makefile.hpux')
-rw-r--r--src/makefiles/Makefile.hpux4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux
index ad2b932d64f..de2b87d6138 100644
--- a/src/makefiles/Makefile.hpux
+++ b/src/makefiles/Makefile.hpux
@@ -19,11 +19,11 @@ ifneq ($(HPUXMATHLIB),)
LDFLAGS:= -L /lib/pa1.1 $(LDFLAGS)
endif
-# On all HPUX versions, embed LIBDIR as the shared library search path
+# On all HPUX versions, embed `libdir' as the shared library search path
# so that the executables don't need SHLIB_PATH to be set, specify -z
# to catch null pointer dereferences, and specify -E to make all symbols
# visible to dynamically linked shared libraries.
-LDFLAGS+= -Wl,+b -Wl,$(LIBDIR) -Wl,-z -Wl,-E
+LDFLAGS+= -Wl,+b -Wl,$(libdir) -Wl,-z -Wl,-E
# Rule for building shared libs (currently used only for regression test
# shlib ... should go away, since this is not really enough knowledge)