Created
February 19, 2014 09:58
-
-
Save jnthn/9089099 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build/probe.pm b/build/probe.pm | |
index 5e4cee2..ba5a06b 100644 | |
--- a/build/probe.pm | |
+++ b/build/probe.pm | |
@@ -51,13 +51,13 @@ sub compile { | |
my @objs; | |
foreach my $file ("$leaf.c", @$files) { | |
(my $obj = $file) =~ s/\.c/$config->{obj}/; | |
- my $command = "$config->{cc} $cl_define $config->{ccout} $obj $config->{ccswitch} $file >$devnull 2>&1"; | |
+ my $command = "$config->{cc} $cl_define $config->{ccout}$obj $config->{ccswitch} $file >$devnull 2>&1"; | |
system $command | |
and return; | |
push @objs, $obj; | |
} | |
- my $command = "$config->{ld} $config->{ldout} $leaf @objs >$devnull 2>&1"; | |
+ my $command = "$config->{ld} $config->{ldout}$leaf @objs >$devnull 2>&1"; | |
system $command | |
and return; | |
return 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment