summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/hpux8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s/hpux8.h b/src/s/hpux8.h
index b79a001c5f6..e49dcd6800c 100644
--- a/src/s/hpux8.h
+++ b/src/s/hpux8.h
@@ -15,7 +15,7 @@
Note GCC automatically passes -a archive to ld, and it has its own
conflicting -a. */
#ifdef __GNUC__
-#define LD_SWITCH_SYSTEM -L/usr/lib/X11R4 -static
+#define LD_SWITCH_SYSTEM -L/usr/lib/X11R4 -Xlinker -a -Xlinker archive
/* No need to specify roundabout way of linking temacs. */
#define ORDINARY_LINK