Guest User

Untitled

a guest
May 11th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. (at-init ()
  2. (eval-when (:compile-toplevel :load-toplevel :execute)
  3. (define-foreign-library glib
  4. ((:and :unix (:not :darwin))
  5. (:or "libglib-2.0.so.0" "libglib-2.0.so"))
  6. (:darwin (:or "libglib-2.0.0.dylib" "libglib-2.0.dylib"))
  7. (:windows "libglib-2.0-0.dll")
  8. (t (:default "libglib-2.0"))))
  9. (unless (foreign-library-loaded-p 'glib)
  10. (use-foreign-library glib)))
Add Comment
Please, Sign In to add comment