foxygit / doom Log in
commit e91d829df3e7961a6c117eaebab05751a7a7e7df
Author:     Roman Fomin <rfomin@gmail.com>
AuthorDate: Mon Feb 13 17:34:35 2023 +0700
Commit:     GitHub <noreply@github.com>
CommitDate: Mon Feb 13 11:34:35 2023 +0100

    Fix MSYS2 packaging (#1579)
---
 pkg/win32/GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/win32/GNUmakefile b/pkg/win32/GNUmakefile
index 864d675e..32c32e87 100644
--- a/pkg/win32/GNUmakefile
+++ b/pkg/win32/GNUmakefile
@@ -37,9 +37,9 @@ hook-strife: staging-strife

 staging-%:
 	mkdir $@
-	LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" \
+	LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" --dll_path="$(MSYSTEM_PREFIX)/bin" \
 	               $(TOPLEVEL)/src/$(PROGRAM_PREFIX)$*.exe $@
-	LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" \
+	LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" --dll_path="$(MSYSTEM_PREFIX)/bin" \
 	               $(TOPLEVEL)/src/$(PROGRAM_PREFIX)setup.exe \
 	               $@/$(PROGRAM_PREFIX)$*-setup.exe