MINGW-packages/mingw-w64-python/0058-Fix-install-location-of-the-import-library.patch

23 lines
853 B
Diff

From 929b197a6e8f9602b7a530225b1e0c7c42d9b783 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Sun, 25 Jul 2021 15:46:01 +0200
Subject: [PATCH 058/N] Fix install location of the import library
---
Makefile.pre.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
index a66f4c5..dc215f3 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2487,7 +2487,7 @@ libainstall: all scripts
if test -d $(LIBRARY); then :; else \
if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
if test "$(SHLIB_SUFFIX)" = .dll -o "$(SHLIB_SUFFIX)" = .pyd; then \
- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
+ $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBDIR) ; \
else \
$(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
fi; \