Permalink
Browse files

define *zlib-system-library* on FreeBSD per ACL version

Change-Id: If49fc3243ac362d372b7677e4b5ea8674e806eef
  • Loading branch information...
1 parent bdcf2b0 commit 1d422184f5368b36cb24361508a17d9b577efa25 @dklayer dklayer committed Mar 21, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 deflate.cl
View
@@ -76,12 +76,12 @@ v2: fix memory leak."
;; but it would be called this if there were one.
"zlib1.dll")
((:macosx86 :macosx86-64) "libz.1.dylib")
- (:freebsd
- ;; FreeBSD changes the name of this library more than other
- ;; platforms, which seem to keep it at .1, for the most part.
- ;; This value is good for FreeBSD 6.1, but will need to change for
- ;; later versions, no doubt.
- "libz.so.3")
+;;;; FreeBSD changes the name of this library more than other
+;;;; platforms, which seem to keep it static between releases.
+;;;; The values here are defined per ACL version, which seems the most
+;;;; sensible way to do it.
+ #+(version= 8 2) (:freebsd "libz.so.3")
+ #+(version= 9 0) (:freebsd "libz.so.5")
(t (util.string:string+ "libz." sys::*dll-type* ".1"))))
)

0 comments on commit 1d42218

Please sign in to comment.