summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org
index e6daf017d3..d110cc8297 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -360,7 +360,8 @@ do_solaris-shared:
set -x; ${CC} ${SHARED_LDFLAGS} -G -dy -z text \
-o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
-h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- -z allextract lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \
+ -Wl,-z,allextract lib$$i.a -Wl,-z,defaultextract \
+ $$libs ${EX_LIBS} -lc ) || exit 1; \
libs="$$libs -l$$i"; \
done; \
fi