Skip to content

Commit 61b175e

Browse files
committed
Specify minimum viable version for dependency
1 parent 5682160 commit 61b175e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

META6.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
],
66
"build-depends": [
77
"PathTools",
8-
"JSON::Fast",
9-
"Resource::Wrangler"
8+
"JSON::Fast"
109
],
1110
"depends": [
11+
"Resource::Wrangler:ver<1.1.1+>"
1212
],
1313
"description": "OpenSSL bindings",
1414
"license": "MIT",
@@ -46,5 +46,5 @@
4646
],
4747
"test-depends": [
4848
],
49-
"version": "0.2.5"
49+
"version": "0.2.4"
5050
}

lib/OpenSSL/NativeLib.rakumod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ sub crypto-lib is export {
3131
# original unmangled name.
3232
# XXX: This should be removed when CURI/%?RESOURCES gets a mechanism to bypass name mangling
3333
sub dll-resource($resource-name) {
34-
load-resource-to-path($resource-name).absolute
34+
my $prefix = $*TMPDIR.add($?DISTRIBUTION.Str);
35+
load-resource-to-path($resource-name, :$prefix, :filename($resource-name)).absolute
3536
}
3637

3738
# vim: expandtab shiftwidth=4

0 commit comments

Comments
 (0)