--- toast 2005/07/04 22:35:35 1.385 +++ toast 2005/07/06 06:15:57 1.386 @@ -2883,7 +2883,7 @@ } } - my(@socc) = qw[gcc -shared -Wall]; + my(@socc) = qw[gcc -fPIC -shared -Wall]; push(@socc, qw[-Werror]) if strictpreload; my(@sol) = (); push(@sol, qw[-ldl]) if $^O =~ /linux/i;