From c69ce9f67f152e8f5d8b65d63b1c9937b04d6612 Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 29 Feb 2024 13:48:35 +1300 Subject: [PATCH] Update --- src/Xpress.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Xpress.jl b/src/Xpress.jl index 7e5d85fa..38d4ff21 100644 --- a/src/Xpress.jl +++ b/src/Xpress.jl @@ -17,14 +17,14 @@ elseif Sys.isapple() # Use the artifact instead. LazyArtifacts.artifact"xpresspy", "lib/python3.10/site-packages/xpress/lib", ) - const libxprs = joinpath(xpressdlpath, "xprs.dylib") + const libxprs = joinpath(xpressdlpath, "libxprs.dylib") elseif Sys.islinux() # Use the artifact instead. const xpressdlpath = joinpath( LazyArtifacts.artifact"xpresspy", "lib/python3.10/site-packages/xpress/lib", ) # Annoyingly, Xpress has the version after extension - const libxprs = joinpath(xpressdlpath, "xprs.so.42") + const libxprs = joinpath(xpressdlpath, "libxprs.so.42") elseif !haskey(ENV, "XPRESS_JL_NO_DEPS_ERROR") error("XPRESS cannot be loaded. Please run Pkg.build(\"Xpress\").") else