Skip to content
Snippets Groups Projects
Commit 763b43d8 authored by Liam M. Healy's avatar Liam M. Healy
Browse files

Put :unix at the end of load-foreign-library list

Put :unix at the end of load-foreign-library list so that more
specific unices like :darwin get seen first.
parent 07cd1635
No related branches found
No related tags found
No related merge requests found
;; Load GSL ;; Load GSL
;; Liam Healy Sat Mar 4 2006 - 18:53 ;; Liam Healy Sat Mar 4 2006 - 18:53
;; Time-stamp: <2010-07-18 22:53:17EDT init.lisp> ;; Time-stamp: <2010-08-13 13:54:07EDT init.lisp>
;; ;;
;; Copyright 2006, 2007, 2008, 2009, 2010 Liam M. Healy ;; Copyright 2006, 2007, 2008, 2009, 2010 Liam M. Healy
;; Distributed under the terms of the GNU General Public License ;; Distributed under the terms of the GNU General Public License
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
(read-line s)))) (read-line s))))
(cffi:define-foreign-library libgslcblas (cffi:define-foreign-library libgslcblas
(:unix (:or "libgslcblas.so.0" "libgslcblas.so"))
(:darwin "libgslcblas.dylib") (:darwin "libgslcblas.dylib")
(:cygwin "cyggslcblas-0.dll") (:cygwin "cyggslcblas-0.dll")
(:unix (:or "libgslcblas.so.0" "libgslcblas.so"))
(t (:default "libgslcblas"))) (t (:default "libgslcblas")))
(cffi:use-foreign-library libgslcblas) (cffi:use-foreign-library libgslcblas)
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
(cffi:load-foreign-library "/lib/lapack/cygblas.dll") (cffi:load-foreign-library "/lib/lapack/cygblas.dll")
(cffi:define-foreign-library libgsl (cffi:define-foreign-library libgsl
(:unix (:or "libgsl.so.0" "libgsl.so"))
(:darwin "libgsl.dylib") (:darwin "libgsl.dylib")
(:cygwin "cyggsl-0.dll") (:cygwin "cyggsl-0.dll")
(:unix (:or "libgsl.so.0" "libgsl.so"))
(t (:default "libgsl"))) (t (:default "libgsl")))
(cffi:use-foreign-library libgsl) (cffi:use-foreign-library libgsl)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment