Fix condition in native-path calculation. Thanks to wburke.

This commit is contained in:
Phil Hagelberg 2010-12-27 12:46:20 -08:00
parent 6cdd04949d
commit 78384ba6da

View file

@ -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)))