Skip to content

Commit

Permalink
Fix condition in native-path calculation. Thanks to wburke.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jan 1, 2011
1 parent 6cdd049 commit 78384ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/compile.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 78384ba

Please sign in to comment.