From 8615d6ec879909ae70401a7591a17cd03b0de780 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Fri, 27 Jun 2014 11:58:14 -0700 Subject: [PATCH] Build import libs as .dll.a instead of .lib This is MinGW convention. Signed-off-by: Timothy Gu --- Makefile.install | 2 +- exports/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.install b/Makefile.install index 9fc8d7ad6..7eb7b5fc3 100644 --- a/Makefile.install +++ b/Makefile.install @@ -83,7 +83,7 @@ ifeq ($(OSNAME), Darwin) endif ifeq ($(OSNAME), WINNT) @-cp $(LIBDLLNAME) $(OPENBLAS_BINARY_DIR) - @-cp $(LIBPREFIX).lib $(OPENBLAS_LIBRARY_DIR) + @-cp $(LIBDLLNAME).a $(OPENBLAS_LIBRARY_DIR) endif ifeq ($(OSNAME), CYGWIN_NT) @-cp $(LIBDLLNAME) $(OPENBLAS_BINARY_DIR) diff --git a/exports/Makefile b/exports/Makefile index 70fde4f45..a2e7ee3b2 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -84,7 +84,7 @@ dll : ../$(LIBDLLNAME) ../$(LIBDLLNAME) : ../$(LIBNAME) libopenblas.def dllinit.$(SUFFIX) $(RANLIB) ../$(LIBNAME) $(CC) $(CFLAGS) $(LDFLAGS) libopenblas.def dllinit.$(SUFFIX) \ - -shared -o ../$(LIBDLLNAME) -Wl,--out-implib,../$(LIBPREFIX).lib \ + -shared -o ../$(LIBDLLNAME) -Wl,--out-implib,../$(LIBDLLNAME).a \ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(FEXTRALIB) $(EXTRALIB) libopenblas.def : gensymbol