changeset 6897:2e72cfa4eecf

* src/sundials-ida.mk: look for sparseconfig in lib64, is using lib64 directories
author John Donoghue <john.donoghue@ieee.org>
date Mon, 02 Oct 2023 13:28:49 -0400
parents 09595fdc9c6f
children fd1fbbdba2fa
files src/sundials-ida.mk
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sundials-ida.mk	Sun Oct 01 21:57:56 2023 +0200
+++ b/src/sundials-ida.mk	Mon Oct 02 13:28:49 2023 -0400
@@ -20,7 +20,11 @@
 ifeq ($(MXE_WINDOWS_BUILD),yes)
     $(PKG)_SUITESPARSECONFIG_LIBRARY := $(HOST_LIBDIR)/libsuitesparseconfig.dll.a
 else
+  ifeq ($(MXE_USE_LIB64_DIRECTORY),yes)
+    $(PKG)_SUITESPARSECONFIG_LIBRARY := $(HOST_LIB64DIR)/libsuitesparseconfig.so
+  else
     $(PKG)_SUITESPARSECONFIG_LIBRARY := $(HOST_LIBDIR)/libsuitesparseconfig.so
+  endif
 endif
 
 # Keep "sunindextype" in sync with LAPACK (bug #58795)