summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/sol2-5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h
index e2a158ba31c..a98cf39b27b 100644
--- a/src/s/sol2-5.h
+++ b/src/s/sol2-5.h
@@ -2,6 +2,11 @@
#include "sol2-4.h"
+/* -lgen is needed for the regex and regcmp functions
+ which are used by Motif. In the future we can try changing
+ regex.c to provide them in Emacs, but this is safer for now. */
+#define LIB_MOTIF = -lXm -lgen
+
#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
/* Don't use the shared libraries for -lXt and -lXaw,
to work around a linker bug in Solaris 2.5.