Codebase list libcryptx-perl / 2dd0bff
do not use --exclude-libs hack on solaris Karel Miko 2 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6363 );
6464
6565 #FIX: https://github.com/DCIT/perl-CryptX/pull/79
66 # not needed on MS Windows
6667 # does not work on macos - Apple LLVM 12.0.5 (clang-1205.0.22.9) ld: unknown option: --exclude-libs
67 if ($^O ne 'MSWin32' && $^O ne 'darwin' && ($Config{ld} =~ /gcc|g\+\+/ || $Config{gccversion})) {
68 # does not work on solaris - gcc 9.3.0 - ld: fatal: unrecognized option '--exclude-libs'
69 if ($^O !~ /^(MSWin32|darwin|solaris)$/ && ($Config{ld} =~ /gcc|g\+\+/ || $Config{gccversion})) {
6870 push @EUMM_INC_LIB, (LDDLFLAGS => "$Config{lddlflags} -Wl,--exclude-libs,ALL");
6971 }
7072 }