summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/include/main.defs4
-rw-r--r--make/variant/solaris.defs2
2 files changed, 6 insertions, 0 deletions
diff --git a/make/include/main.defs b/make/include/main.defs
index 90891664e..3228593ba 100644
--- a/make/include/main.defs
+++ b/make/include/main.defs
@@ -40,6 +40,10 @@ ifneq (,$(filter $(BUILD.system),cygwin mingw))
MODULES += contrib/zlib
endif
+ifneq (,$(filter $(BUILD.system),solaris))
+ MODULES += contrib/libiconv
+endif
+
## these must come after contrib since some contrib modules are optional
MODULES += libhb
diff --git a/make/variant/solaris.defs b/make/variant/solaris.defs
index 251debcf4..e82ceaded 100644
--- a/make/variant/solaris.defs
+++ b/make/variant/solaris.defs
@@ -1,6 +1,8 @@
TARGET.dylib.ext = .so
GCC.args.dylib = -shared
+GCC.args.strip = -Wl,-s
+GCC.args.extra += -Wl,-z,rescan
GCC.args.pic = 1
GCC.args.g.none = -g0