-
This commit is contained in:
@@ -16,10 +16,14 @@
|
||||
ao_bufsize_async
|
||||
)
|
||||
|
||||
(define-runtime-path libao-async-path "./lib/libao-play-async")
|
||||
(define-runtime-path libao-async-lib-path "./lib")
|
||||
|
||||
(define lib (if (eq? (system-type 'os) 'windows)
|
||||
(build-path libao-async-lib-path "ao-play-async")
|
||||
(build-path libao-async-lib-path "libao-play-async")))
|
||||
|
||||
(define-ffi-definer define-libao-async
|
||||
(ffi-lib libao-async-path '("0" #f)
|
||||
(ffi-lib lib '("0" #f)
|
||||
#:get-lib-dirs (λ ()
|
||||
(let ((sp (cons (build-path ".") (get-lib-search-dirs))))
|
||||
;(displayln sp)
|
||||
|
||||
Reference in New Issue
Block a user