From 803709032f5354fc21a458670d581f1923046524 Mon Sep 17 00:00:00 2001 From: Zakariyya Mughal Date: Tue, 7 Nov 2023 03:28:28 -0500 Subject: [PATCH] Add Meson DESTDIR workaround --- alienfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alienfile b/alienfile index 866845e..5e03835 100644 --- a/alienfile +++ b/alienfile @@ -22,6 +22,10 @@ share { build [ sub { my $build = shift; + # Work around for Meson's `destdir_join` which drops the first part of + # the path when joining (this is the drive letter). + # See . + $ENV{DESTDIR} =~ s,^([a-z]):\\,\\$1\\,i if $^O eq 'MSWin32'; Alien::Build::CommandSequence->new([ Alien::Meson->exe, 'setup', (