Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Feb 29, 2024
1 parent 756838d commit c69ce9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Xpress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c69ce9f

Please sign in to comment.