Changeset 2843

Show
Ignore:
Timestamp:
04/01/08 08:16:04 (9 months ago)
Author:
hans
Message:

Add hack so that GD library is loaded on FreeBSD/i386 with SBCL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build.lisp

    r2825 r2843  
    9191  (asdf:oos 'asdf:load-op system :verbose nil)) 
    9292 
     93;; For some reason, automatic loading of the GD library does not work 
     94;; on FreeBSD/i386 with SBCL.  This temporary fix hopefully cures the 
     95;; problem for the moment: 
     96#+(and sbcl freebsd x86) 
     97(progn 
     98  (eval (read-from-string "(uffi:load-foreign-library \"/usr/local/lib/libgd.so\")")) 
     99  (eval (read-from-string "(uffi:load-foreign-library \"/usr/local/lib/cl-gd-glue.so\")"))) 
     100 
    93101(defun build () 
    94102  (exit 0))