summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/sol2-5.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h
index 26986d433e6..944ec5e526d 100644
--- a/src/s/sol2-5.h
+++ b/src/s/sol2-5.h
@@ -9,7 +9,9 @@
#define LIBXT_STATIC
#ifdef __GNUC__
-#define STATIC_OPTION -static
+#define STATIC_OPTION -Xlinker -Bstatic
+#define DYNAMIC_OPTION -Xlinker -Bdynamic
#else
#define STATIC_OPTION -Bstatic
+#define DYNAMIC_OPTION -Bdynamic
#endif