From: espen Date: Sun, 31 Oct 2004 11:44:45 +0000 (+0000) Subject: Loading of shared library doen by defsystem X-Git-Tag: clg-0-90~242 X-Git-Url: https://git.distorted.org.uk/~mdw/clg/commitdiff_plain/a737e269a3f3b05480a66c87d67e8bace7525d36?ds=sidebyside Loading of shared library doen by defsystem --- diff --git a/atk/atk.asd b/atk/atk.asd index 67e9b60..e46949b 100644 --- a/atk/atk.asd +++ b/atk/atk.asd @@ -1,17 +1,18 @@ ;;; -*- Mode: lisp -*- (defpackage "ATK-SYSTEM" - (:use "COMMON-LISP" "ASDF" "PKG-CONFIG" "SHAREDLIB")) + (:use "COMMON-LISP" "ASDF" "PKG-CONFIG")) (in-package "ATK-SYSTEM") (pkg-exists-p "atk" :atleast-version "1.6.0") -(sharedlib:load-shared-library "libatk-1.0") (defsystem atk - :depends-on (glib) - :components ((:file "defpackage") - (:file "atk" :depends-on ("defpackage")) + :depends-on (glib gdk) + :components ((:library "libatk-1.0" + :libdir #.(pkg-variable "atk" "libdir")) + (:file "defpackage") + (:file "atk" :depends-on ("defpackage" "libatk-1.0")) (:file "export" :depends-on ("atk")))) diff --git a/atk/atk.lisp b/atk/atk.lisp index 1c38106..ee06f6f 100644 --- a/atk/atk.lisp +++ b/atk/atk.lisp @@ -15,11 +15,12 @@ ;; License along with this library; if not, write to the Free Software ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -;; $Id: atk.lisp,v 1.2 2002/03/19 17:15:05 espen Exp $ +;; $Id: atk.lisp,v 1.3 2004/10/31 11:44:45 espen Exp $ (in-package "ATK") + (eval-when (:compile-toplevel :load-toplevel :execute) - (init-types-in-library "libatk-1.0.so") + (init-types-in-library "libatk-1.0.so")) - (define-types-by-introspection "Atk")) +(define-types-by-introspection "Atk")