diff --git a/src/leiningen/compile.clj b/src/leiningen/compile.clj index d912eb75..a5df0ffa 100644 --- a/src/leiningen/compile.clj +++ b/src/leiningen/compile.clj @@ -184,7 +184,7 @@ (when native-path (add-system-property java "java.library.path" (cond - (= file (class native-path)) + (instance? java.io.File native-path) (.getAbsolutePath native-path) (fn? native-path) (native-path) :default native-path)))