Files
ports/lang/moarvm/patches/patch-Configure_pl
2025-12-14 21:12:55 +00:00

15 lines
463 B
Plaintext

Index: Configure.pl
--- Configure.pl.orig
+++ Configure.pl
@@ -550,6 +550,10 @@ if (not $args{static} and $config{prefix} ne '/usr') {
$config{moarlib} = sprintf $config{lib}, $NAME;
$config{moardll} = sprintf $config{dll}, $NAME;
+if (exists $ENV{'SO_VERSION'}) {
+ $config{moardll} = $config{moardll} . "." . $ENV{'SO_VERSION'};
+}
+
# setup flags for shared builds
unless ($args{static}) {
$config{objflags} = '@ccdef@MVM_BUILD_SHARED @ccshared@';