Permalink
Browse files

* Always prefer system perl with embedding Perl5 on OSX.

  • Loading branch information...
1 parent a879f45 commit 3a3bb7830af9193a4052d0b730572c4902f669cd @audreyt audreyt committed Jul 17, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 Pugs/Configure.PL
View
@@ -1,5 +1,10 @@
#!/usr/bin/perl
+if ($^O eq 'darwin' and $^X ne '/usr/bin/perl') {
+ # Always prefer system perl with embedding Perl5 on OSX.
+ exec("/usr/bin/perl" => $0, @ARGV);
+}
+
use 5.006;
use strict;
use Cwd;

0 comments on commit 3a3bb78

Please sign in to comment.