diff --git a/sass/info.rkt b/sass/info.rkt index ff89d5a..873c54e 100644 --- a/sass/info.rkt +++ b/sass/info.rkt @@ -2,7 +2,7 @@ (define version "0.0.0") (define collection "sass") -(define deps '("base")) +(define deps '("base" "libsass")) (define build-deps '("racket-doc" "rackunit-lib" "scribble-lib")) diff --git a/sass/private/libsass.rkt b/sass/private/libsass.rkt index 949e6dd..734ffd6 100644 --- a/sass/private/libsass.rkt +++ b/sass/private/libsass.rkt @@ -1,7 +1,8 @@ #lang racket/base (require ffi/unsafe - ffi/unsafe/define) + ffi/unsafe/define + libsass) (provide bytes->unmanaged-cstring @@ -34,7 +35,7 @@ ;; Basics ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(define-ffi-definer define-sass (ffi-lib "libsass")) +(define-ffi-definer define-sass (ffi-lib (or libsass-path "libsass"))) (define-sass libsass_version (_fun -> _string)) (define-sass libsass_language_version (_fun -> _string))