Fix a bug where native deps were not being added to the java.library.path. Hyphens vs dots.

This commit is contained in:
Anthony Grimes 2011-12-08 14:05:24 -06:00
parent fb84749484
commit db7d1124e9

View file

@ -99,7 +99,7 @@
:clojure.debug (boolean (or (System/getenv "DEBUG") :clojure.debug (boolean (or (System/getenv "DEBUG")
(:debug project)))}) (:debug project)))})
~@(when (and native-arch-path (.exists native-arch-path)) ~@(when (and native-arch-path (.exists native-arch-path))
[(d-property [:java-library-path native-arch-path])])))) [(d-property [:java.library.path native-arch-path])]))))
(defn- injected-forms [] (defn- injected-forms []
(with-open [rdr (-> "robert/hooke.clj" resource reader PushbackReader.)] (with-open [rdr (-> "robert/hooke.clj" resource reader PushbackReader.)]