Skip to content

Commit

Permalink
Fix ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 12, 2024
1 parent 1f03a55 commit 824d8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KNITRO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end
has_knitro() = endswith(libknitro, Libdl.dlext)

function __init__()
for libiomp_name in ("libiomp5.", "libiomp.", "libiomp5md.")
for libiomp_name in ("libiomp5.", "libomp.", "libiomp5md.")
libiomp = replace(libknitro, r"libknitro[0-9]+\." => libiomp_name)
if isfile(libiomp)
Libdl.dlopen(libiomp)
Expand Down

0 comments on commit 824d8b4

Please sign in to comment.