Remove underlinking of libclsmoke and add a darwin case to the library definitons.
src/libsmoke/smoke.lisp
Wed Feb 17 18:05:35 CET 2010 Tobias Rautenkranz <tobias@rautenkranz.ch>
* Remove underlinking of libclsmoke and add a darwin case to the library definitons.
Thanks to Elliott Slaughter
--- old-smoke/src/libsmoke/smoke.lisp 2014-10-30 08:07:10.000000000 +0100
+++ new-smoke/src/libsmoke/smoke.lisp 2014-10-30 08:07:10.000000000 +0100
@@ -1,20 +1,16 @@
(in-package #:smoke)
-;; Load the qt smoke binding to prevent undefined aliens.
(eval-when (:load-toplevel :compile-toplevel :execute)
- (define-foreign-library libsmokeqtcore
- (:unix "libsmokeqtcore.so.3")
- (t (:default "libsmokeqtcore")))
(define-foreign-library libclsmoke
+ (:darwin "libclsmoke.dylib")
(:unix "libclsmoke.so")
(t (:default "libclsmoke")))
(define-foreign-library libclsmokeutil
+ (:darwin "libclsmokeutil.dylib")
(:unix "libclsmokeutil.so")
(t (:default "libclsmokeutil")))
- (use-foreign-library libsmokeqtcore)
(use-foreign-library libclsmoke))
-
(eval-when (:load-toplevel :compile-toplevel :execute)
(use-foreign-library libclsmokeutil)
(defcfun (smoke-sizeof-bool "cl_smoke_sizeof_bool") :int)