at master 825 B view raw
1--- a/cephes.asd 2+++ b/cephes.asd 3@@ -16,7 +16,7 @@ 4 (defclass makefile (source-file) ((type :initform "m"))) 5 (defmethod perform ((o load-op) (c makefile)) t) 6 (defmethod perform ((o compile-op) (c makefile)) 7- (let* ((lib-dir (system-relative-pathname "cephes" "scipy-cephes/")) 8+ (let* ((lib-dir #P"@out@/scipy-cephes/") 9 (lib (make-pathname :directory (pathname-directory lib-dir) 10 :name #+(or (and unix (not darwin)) windows win32) "libmd" 11 #+(and darwin arm64) "libmd-arm64" 12@@ -30,7 +30,7 @@ 13 (format *error-output* "Library ~S exists, skipping build" lib) 14 (format *error-output* "Building ~S~%" lib)) 15 (unless built 16- (chdir (native-namestring lib-dir)) 17+ (chdir "scipy-cephes") 18 (run-program "make" :output t))))) 19 20 (defsystem "cephes" 21