fix export, fix LD path

master
Avril 5 years ago
parent 2e88043155
commit 493dec0f6e
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -9,5 +9,6 @@
:depends-on (:cffi) :depends-on (:cffi)
:components ((:file "package") :components ((:file "package")
(:file "ffi") (:file "ffi")
(:file "crandom")
(:file "urandom") (:file "urandom")
(:file "cl-rng"))) (:file "cl-rng")))

@ -2,7 +2,7 @@
(in-package #:cl-rng-ffi) (in-package #:cl-rng-ffi)
(define-foreign-library libsrng (define-foreign-library libsrng
(:unix (:or "libsrng.so" "libsrng" "./libsrng.so")) (:unix (:or "libsrng.so" "libsrng" "./libsrng.so" "/usr/lib/libsrng.so" "/usr/local/lib/libsrng.so"))
(t (:default "libsrng"))) (t (:default "libsrng")))
(use-foreign-library libsrng) (use-foreign-library libsrng)

Loading…
Cancel
Save