Skip to content

Commit

Permalink
Properly link GSL libs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobjwalters committed Dec 23, 2022
1 parent 07d41e4 commit bced45a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution.ipkg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sourceloc = "www.github.com/idris-bayes/distribution"
brief = "An FFI for statistical distributions from the GSL C library."

-- script to run before building
prebuild = "cd lib && cc -shared -fPIC distribution.c -o distribution.so -lm -lgsl"
prebuild = "cd lib && cc -shared -fPIC distribution.c -o distribution.so $(gsl-config --libs)"

depends = contrib

Expand Down
Binary file modified lib/distribution.so
Binary file not shown.

0 comments on commit bced45a

Please sign in to comment.