MINGW-packages/mingw-w64-python/0058-Fix-install-location-of-the-import-library.patch
2025-10-10 14:31:04 +02:00

23 lines
853 B
Diff

From f661c24c32371a5d30291b4d50f7b3b37893ab7a 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 e7c7b89..fc1ea7d 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2488,7 +2488,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; \