build: add libsass dependency

This commit is contained in:
Bogdan Popa 2019-09-15 13:48:33 +03:00
parent 17191d3b92
commit b646aed9ff
2 changed files with 4 additions and 3 deletions

View File

@ -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"))

View File

@ -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))