[cl-ncurses-devel] Fix build on OpenBSD

Timo Myyrä timo.myyra at iki.fi
Sun Sep 30 15:59:27 UTC 2012


Here's patch to remove "a" from library types in order to make the
library to load on OpenBSD.
With "a" in the list of types the /usr/lib/libncurses.a would be tried
before libncurses.so which causes error.
With below patch I can load cl-ncurses just fine.
Not sure if this would cause problems on static build, perhaps add
more specialized check for platform.

Timo

--- /home/zmyrgel/quicklisp/dists/quicklisp/software/cl-ncurses_0.1.4/package.lisp
     Wed Sep 19 19:17:06 2012
+++ package.lisp        Sun Sep 30 18:55:25 2012
@@ -183,8 +183,7 @@
   (find-foreign-library
    "libncurses"
    *ncurses-search-paths*
-   :drive-letters '("C" "D" "E")
-   :types '("so" "dylib" "a" "dll"))
+   :types '("so" "dylib"))
   #+win32
   (find-foreign-library
    "pdcurses"




More information about the cl-ncurses-devel mailing list