Commit 9a311b1b authored by Liam Healy's avatar Liam Healy
Browse files

Add include path for OSX

Darwin ports installs .h files under /opt/local/include/, so put -I
option onto cffi-grovel::*cc-flags*.
parent da35a026
;; Load GSL
;; Liam Healy Sat Mar 4 2006 - 18:53
;; Time-stamp: <2009-05-25 16:32:45EDT init.lisp>
;; Time-stamp: <2009-08-22 16:19:52EDT init.lisp>
;; $Id$
(defpackage gsll
(:nicknames :gsl)
(:use :common-lisp :cffi))
;;; When installed through Mac Ports, GSL .h files will be found
;;; in /opt/local/include.
(setf cffi-grovel::*cc-flags*
(append '("-I" "/opt/local/include/") cffi-grovel::*cc-flags*))
(cffi:define-foreign-library libgslcblas
(:or "/opt/local/lib/libgslcblas.dylib" "/sw/lib/libgslcblas.dylib"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment