Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/corbits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if VERSION >= v"0.7.0-"
using Pkg
using CORBITS
#global const LIB_CORBITS = Libdl.find_library(["libcorbits.so"],[".",joinpath(Pkg.devdir(),"ExoplanetsSysSim/"),joinpath(Pkg.devdir(),"CORBITS/"),"/usr/local/lib"]) # WARNING: Assumes can find libcorbits.so
global const LIB_CORBITS = Libdl.find_library(["libcorbits.so"],[".",joinpath(dirname(pathof(ExoplanetsSysSim))),joinpath(dirname(pathof(CORBITS))),"/usr/local/lib"]) # WARNING: Assumes can find libcorbits.so
global const LIB_CORBITS = Libdl.find_library(["libcorbits.so"],[".",joinpath(dirname(pathof(ExoplanetsSysSim))),joinpath(dirname(pathof(CORBITS))),joinpath(dirname(pathof(CORBITS)))*"/../","/usr/local/lib"]) # WARNING: Assumes can find libcorbits.so
elseif VERSION >= v"0.4.0-"
global const LIB_CORBITS = Libdl.find_library(["libcorbits.so"],[".",joinpath(Pkg.dir(),"ExoplanetsSysSim/"),joinpath(Pkg.dir(),"CORBITS/"),"/usr/local/lib"]) # WARNING: Assumes can find libcorbits.so
else
Expand Down