Do not deploy import libraries on Windows when NO_STATIC=1

This commit is contained in:
Harmen Stoppels 2020-03-24 16:45:52 +01:00
parent b6a948fbee
commit 06ef74c84f
1 changed files with 7 additions and 1 deletions

View File

@ -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