Don't build static libs by default

I believe many of the incorrect dependency problems are due to building
static libs, which don't contain any dependency info.

If needed, these can be enabled with --enable-static (for autotools) or
-DBUILD_SHARED_LIBS=OFF (for cmake).
This commit is contained in:
Kyle Guinn
2020-11-23 00:56:22 -06:00
parent f85e91fa99
commit fd2fc43dbc
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ arpack-ng - 3.8.0
[ Kyle Guinn ]
* [BUG FIX]: fix 'eval: Syntax error: "(" unexpected' error at build time.
* Only build shared libraries by default. To build static libraries, use
--enable-static (autotools) or -DBUILD_SHARED_LIBS=OFF (cmake).
[ David Schwörer ]
* Support of gfortran 10
+1
View File
@@ -15,6 +15,7 @@ if (POLICY CMP0042)
cmake_policy (SET CMP0042 NEW)
endif ()
option(BUILD_SHARED_LIBS "Build shared libraries instead of static libraries" ON)
option(MPI "Enable parallel support" OFF)
option(ICB "Enable support for *[ae]upd_c with ISO_C_BINDING" OFF)
option(ICBEXMM "Enable support for matrix market example based on ICB" OFF)
+1 -1
View File
@@ -46,7 +46,7 @@ ifdef([LT_INIT], [], [
m4exit([1])])
LT_PREREQ([2.4.2])
LT_INIT([win32-dll])
LT_INIT([win32-dll disable-static])
dnl See if compiling parpack
AC_ARG_ENABLE([mpi],