Skip to content

Commit

Permalink
Merge pull request #691 from zoffixznet/patch-1
Browse files Browse the repository at this point in the history
Fix for RT#127354
  • Loading branch information
lizmat committed Jan 23, 2016
2 parents 217e976 + 89aa6c8 commit fb0a135
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/NativeCall.pm6
Expand Up @@ -185,8 +185,6 @@ sub guess_library_name($lib) is export(:TEST) {
return '' unless $libname.DEFINITE;
#Already a full name?
return $libname if ($libname ~~ /\.<.alpha>+$/ or $libname ~~ /\.so(\.<.digit>+)+$/);
note "NativeCall: Consider adding the api version of the library you want to use, sub foo is native($libname, v1)" if $libname ~~ /^<-[\.\/\\]>+$/ and $apiversion eq '';

return $*VM.platform-library-name($libname.IO, :version($apiversion || Version)).Str;
}

Expand Down

0 comments on commit fb0a135

Please sign in to comment.