Skip to content

Commit

Permalink
Make it work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Maginor committed Aug 22, 2024
1 parent 4e6cf01 commit 2a8d296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mobius_jl/mobius.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module mobius

using Libdl, Dates

mobius_dll = dlopen("../mobipy/c_abi.dll")
dll_path = @static Sys.iswindows() ? "../mobipy/c_abi.dll" : "../mobipy/c_abi.so"
mobius_dll = dlopen(dll_path)

export setup_model, run_model, get_entity, get_var_from_list, get_var, conc, transport, get_var_by_name, get_steps, get_dates, get_series_data, invalid_entity_id, invalid_var, no_index

Expand Down

0 comments on commit 2a8d296

Please sign in to comment.