Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
Add some C library name variants for unix-like systems
Browse files Browse the repository at this point in the history
  • Loading branch information
glv2 committed Jun 3, 2019
1 parent 1e6fb63 commit 2cc311e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.org
Expand Up @@ -26,7 +26,8 @@ details.
*cffi* and *cl-octet-streams* can be easily installed with [[https://www.quicklisp.org][quicklisp]].

A *lzlib* package should be available in almost every GNU/Linux or *BSD
distribution.
distribution. For example it is called /lzlib/ on Gentoo and Guix, and
/liblz1/ on Debian and Ubuntu.

* API

Expand Down
2 changes: 2 additions & 0 deletions src/lzlib.lisp
Expand Up @@ -7,6 +7,8 @@


(cffi:define-foreign-library lzlib
(:unix (:or "liblz.so"
"liblz.so.1"))
(t (:default "liblz")))

(cffi:use-foreign-library lzlib)
Expand Down

0 comments on commit 2cc311e

Please sign in to comment.