find-native-lib-path

leiningen.compile

  • (find-native-lib-path project)
Returns a File representing the directory where native libs for the
current platform are located.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/compile.clj:74 top

(defn find-native-lib-path
  "Returns a File representing the directory where native libs for the
  current platform are located."
  [project]
  (let [osdir (name (get-os))
        archdir (name (get-arch))
        f (file "native" osdir archdir)]
    (if (.exists f)
      f
      nil)))
Vars in leiningen.compile/find-native-lib-path: defn let
Used in 0 other vars

Comments top

No comments for find-native-lib-path. Log in to add a comment.