diff -r ec694871d2f8 ada-wisi.el
--- a/ada-wisi.el	Sun May 17 22:07:41 2015 +0000
+++ b/ada-wisi.el	Mon Jun 08 09:01:54 2015 +0100
@@ -1822,15 +1822,23 @@
 (defvar wisi-test-parser) ;; in build/run-indent-test-*.el
 (defun ada-wisi-setup ()
   "Set up a buffer for parsing Ada files with wisi."
-  (let (parser lexer)
+  (let (dynlib parser lexer)
     (cond
      ((and (functionp 'module-load)
-	   (locate-file ada-wisi-module-parse-dll exec-path '("" ".dll" ".so"))
+	   (progn
+	     (setq
+	      dynlib
+	      (or
+	       (locate-file ada-wisi-module-parse-dll exec-path '("" ".dll"))
+	       (locate-file (concat "lib"
+				    ada-wisi-module-parse-dll)
+			    exec-path '("" ".so" ".dylib"))))
+	     dynlib)
 	   (or (not (boundp 'wisi-test-parser))
 	       (eq wisi-test-parser 'module)))
       (require 'ada_grammar-module)
 
-      (setq parser (ada_grammar-wisi-module-parser-make ada-wisi-module-parse-dll))
+      (setq parser (ada_grammar-wisi-module-parser-make dynlib))
 
       (setq ada_grammar-module-lexer
 	    (wisi-make-elisp-lexer
