Skip to content

Commit

Permalink
refix find-library()
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Jan 22, 2024
1 parent 64bc014 commit 36dd4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LibXML/Raw/Defs.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ my constant XML_XML_NS is export(:XML_XML_NS) = 'http://www.w3.org/XML/1998/name

sub find-library($base) {
# unmangle library names, so xml6.dll can load libxml.dll
if my IO $file = %?RESOURCES{'libraries/' ~ $base} {
with %?RESOURCES{'libraries/' ~ $base} -> Distribution::Resource $file {
my $tmpdir = $*SPEC.tmpdir ~ '/' ~ 'raku-libxml-' ~ $?DISTRIBUTION.meta<ver>;
my $lib = $*VM.platform-library-name($base.IO);
my IO() $dest = $tmpdir ~ '/' ~ $lib;
Expand Down

0 comments on commit 36dd4ec

Please sign in to comment.