Commits

Shlomi Fish committed 086aa97

Removed a warning.

  • Participants
  • Parent commits f405491

Comments (0)

Files changed (1)

     my $quote = $is_Win32 ? '"' : "'";
     xsystem("$^X Makefile.PL " . join(' ', map { "${quote}$_=$config{$_}${quote}" } keys %config));
 
+    my $def_opt = defined($opt) ? $opt : '';
     # I am not shure if OTHERLDFLAGS is really required - at least the
     # libraries to include do not belong here!
     # I would assume a user to set OTHERLDFLAGS in the %config if they are
     # really required. if done so, we don't have to pass them here ...
-    xsystem("$Config{make} test ${quote}OTHERLDFLAGS=${opt}${quote}");
+    xsystem("$Config{make} test ${quote}OTHERLDFLAGS=${def_opt}${quote}");
 } # end try_link0
 
 sub try_link {