diff --git a/Makefile.PL b/Makefile.PL index 2636133..bbb02d8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -84,7 +84,7 @@ interrogate($sel); # Fix up the libpath and libpython die "Could not find Python.h in include path. make will not work" unless -e "$sel->{incpath}/Python.h"; substr($sel->{incpath}, 0, 0) = "-I"; -substr($sel->{libpath}, 0, 0) = "-L"; +$sel->{libpath} = ""; $sel->{libpython} =~ s/lib(.*)(?:\.\Q$Config{dlext}\E|\Q$Config{_a}\E)/-l$1/; my @flags;