Browse Source

Refs #127. Generate DLL without a version suffix on Windows.

tags/v0.2.3^2
Zaheer Chothia 13 years ago
parent
commit
e8306f623a
3 changed files with 6 additions and 3 deletions
  1. +0
    -2
      Makefile
  2. +1
    -1
      Makefile.system
  3. +5
    -0
      exports/Makefile

+ 0
- 2
Makefile View File

@@ -99,11 +99,9 @@ ifeq ($(OSNAME), Darwin)
endif
ifeq ($(OSNAME), WINNT)
$(MAKE) -C exports dll
-ln -fs $(LIBDLLNAME) $(LIBPREFIX).dll
endif
ifeq ($(OSNAME), CYGWIN_NT)
$(MAKE) -C exports dll
-ln -fs $(LIBDLLNAME) $(LIBPREFIX).dll
endif

tests :


+ 1
- 1
Makefile.system View File

@@ -724,8 +724,8 @@ endif
endif


LIBDLLNAME = $(LIBPREFIX).dll
LIBSONAME = $(LIBNAME:.$(LIBSUFFIX)=.so)
LIBDLLNAME = $(LIBNAME:.$(LIBSUFFIX)=.dll)
LIBDYNNAME = $(LIBNAME:.$(LIBSUFFIX)=.dylib)
LIBDEFNAME = $(LIBNAME:.$(LIBSUFFIX)=.def)
LIBEXPNAME = $(LIBNAME:.$(LIBSUFFIX)=.exp)


+ 5
- 0
exports/Makefile View File

@@ -66,6 +66,11 @@ dll : ../$(LIBDLLNAME)

dll2 : libgoto2_shared.dll

# On Windows, we only generate a DLL without a version suffix. This is because
# applications which link against the dynamic library reference a fixed DLL name
# in their import table. By instead using a stable name it is possible to
# upgrade between library versions, without needing to re-link an application.
# For more details see: https://github.com/xianyi/OpenBLAS/issues/127.
../$(LIBDLLNAME) : ../$(LIBNAME) libopenblas.def dllinit.$(SUFFIX)
$(RANLIB) ../$(LIBNAME)
ifeq ($(BINARY32), 1)


Loading…
Cancel
Save