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
Line 
1;;;; -*- Mode: LISP -*-
2
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 "net.java.dev.jna/jna/3.4.0")))
8
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 "net.java.dev.jna:jna:3.4.0")))
12
13                         
Note: See TracBrowser for help on using the repository browser.