Skip to content

Instantly share code, notes, and snippets.

@lispnik
Created March 17, 2016 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lispnik/780a701f58db236011f9 to your computer and use it in GitHub Desktop.
Save lispnik/780a701f58db236011f9 to your computer and use it in GitHub Desktop.
#+(and asdf darwin)
(defmethod asdf:perform :after ((o asdf:load-op) (c (eql (asdf:find-system "cffi"))))
(let ((library-directories (intern "*FOREIGN-LIBRARY-DIRECTORIES*" (find-package "CFFI"))))
(set library-directories
(cons #p"/opt/local/lib/" (symbol-value library-directories)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment