369.4
svn: r5327 original commit: 91add0453f25090c3b11b3fae06a01d65dbb0b3e
This commit is contained in:
parent
a8a28dadec
commit
eed6ec36e9
|
@ -132,12 +132,7 @@
|
|||
;; ----------------------------------------------------------------------------
|
||||
;; Getting and setting library objects
|
||||
|
||||
(define lib-suffix
|
||||
(case (system-type)
|
||||
[(unix) "so"]
|
||||
[(macosx) "dylib"]
|
||||
[(windows) "dll"]
|
||||
[else (error 'foreign "unknown system type: ~s" (system-type))]))
|
||||
(define lib-suffix (bytes->string/latin-1 (subbytes (system-type 'so-suffix) 1)))
|
||||
(define lib-suffix-re (regexp (string-append "\\." lib-suffix "$")))
|
||||
|
||||
(provide (rename get-ffi-lib ffi-lib)
|
||||
|
|
Loading…
Reference in New Issue
Block a user