From 06ef74c84ff5a26147bca303cebd3d602b478af1 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 24 Mar 2020 16:45:52 +0100 Subject: [PATCH] Do not deploy import libraries on Windows when NO_STATIC=1 --- Makefile.install | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.install b/Makefile.install index 2dc32c3d9..aedf68597 100644 --- a/Makefile.install +++ b/Makefile.install @@ -89,12 +89,18 @@ ifeq ($(OSNAME), Darwin) endif ifeq ($(OSNAME), WINNT) @-cp $(LIBDLLNAME) "$(DESTDIR)$(OPENBLAS_BINARY_DIR)" - @-cp $(IMPLIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" endif ifeq ($(OSNAME), CYGWIN_NT) @-cp $(LIBDLLNAME) "$(DESTDIR)$(OPENBLAS_BINARY_DIR)" +endif +ifneq ($(NO_STATIC),1) +ifeq ($(OSNAME), WINNT) @-cp $(IMPLIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" endif +ifeq ($(OSNAME), CYGWIN_NT) + @-cp $(IMPLIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" +endif +endif endif else