Skip to content

Commit

Permalink
Remove --no-undefined from compiler test which is not compatible with…
Browse files Browse the repository at this point in the history
… all platforms

Fixes #37
  • Loading branch information
toddr committed Dec 28, 2023
1 parent a64ec7b commit cdd28cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ ESQ

close(TST);
print "Looking for $f()" . "." x (13-length($f)) . " ";
if (system("$cfg{'cc'} $flags -Wl,--no-undefined $funcs{$f} functest_$f.c > functest_$f.log 2>&1")) {
if (system("$cfg{'cc'} $flags $funcs{$f} functest_$f.c > functest_$f.log 2>&1")) {
print "not found.\n";
} else {
$define{"-DHAVE_\U$f"} = undef;
Expand Down

0 comments on commit cdd28cd

Please sign in to comment.