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