source: trunk/abcl/contrib/mvn/jna.asd @ 14187

Last change on this file since 14187 was 14187, checked in by Mark Evenson, 8 years ago

Fallback to reliable JNA loading for CFFI.

Implemented by moving JNA loading "down" an abstraction to ABCL-ASDF
primitive until we establish better handlers in the ABCL-ASDF:MVN
loading semantics.

File size: 539 bytes
1;;;; -*- Mode: LISP -*-
3;;;; Need to have jna.jar present for CFFI to have a chance of working.
4(asdf:defsystem :jna
5    :version "3.4.0"
6    :defsystem-depends-on (abcl-asdf))
7;; FIXME:  install a better handler in abcl-asdf  :components ((:mvn "")))
9(defmethod asdf:perform :after ((o asdf:load-op) (c (eql (asdf:find-system :jna))))
10  ;; Theoretically this should be the same thing as the MVN component.
11  (java:add-to-classpath (abcl-asdf:resolve "")))
Note: See TracBrowser for help on using the repository browser.