Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created February 19, 2014 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/9089099 to your computer and use it in GitHub Desktop.
Save jnthn/9089099 to your computer and use it in GitHub Desktop.
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