summaryrefslogtreecommitdiff
path: root/build-aux/ltmain.in
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/ltmain.in')
-rw-r--r--build-aux/ltmain.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index f452e544..3b4e6ec2 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -497,7 +497,9 @@ libtool_validate_options ()
test : = "$debug_cmd" || func_append preserve_args " --debug"
case $host in
- *cygwin* | *mingw* | *pw32* | *cegcc*)
+ # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
+ # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
+ *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2*)
# don't eliminate duplications in $postdeps and $predeps
opt_duplicate_compiler_generated_deps=:
;;