diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux
index b6e141893e233dec295d5d081aa56177a1d7094a..1ed5130af08cd3f14f6121581d0ae46b6cd8ad4b 100644
--- a/src/makefiles/Makefile.hpux
+++ b/src/makefiles/Makefile.hpux
@@ -16,7 +16,7 @@ endif
 # add -L command to make that happen.
 # (CAUTION: you need PHSS_4630 to have a working version of rint() on 9!)
 ifneq ($(HPUXMATHLIB),)
-   LDFLAGS:= -L /lib/pa1.1 $(LDFLAGS)
+   LDFLAGS:= -L/lib/pa1.1 $(LDFLAGS)
 endif
 
 # Embed 'libdir' as the shared library search path so that the executables