|
@@ -23,4 +23,7 @@
|
|
|
;; 'dynamic-link' in Guile >= 3.0.2 first looks up file names literally
|
|
|
;; (hence ".so.1"), which is not the case with older versions of Guile.
|
|
|
(cond-expand ((not guile-3) "@ZSTD_LIBDIR@/libzstd")
|
|
|
- (else "@ZSTD_LIBDIR@/libzstd.so.1")))
|
|
|
+ (else
|
|
|
+ (if (string-contains %host-type "darwin")
|
|
|
+ "@ZSTD_LIBDIR@/libzstd.1.dylib"
|
|
|
+ "@ZSTD_LIBDIR@/libzstd.so.1"))))
|