mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-25 14:01:07 -08:00
modern macOS does not need libm.dylib, nor has it
This commit is contained in:
parent
e5d8336379
commit
5e99481bd3
1 changed files with 4 additions and 4 deletions
|
|
@ -221,11 +221,11 @@ Build and load this module with (compile-file "uffi.lsp" :load t)
|
|||
;;
|
||||
;; This toplevel statement notifies the compiler that we will
|
||||
;; need this shared library at runtime. We do not need this
|
||||
;; statement in windows.
|
||||
;; statement in windows or modern macOS.
|
||||
;; The actually needed path to libm might be different on different systems.
|
||||
;;
|
||||
#-(or ming32 windows)
|
||||
(ffi:load-foreign-library #+darwin "/usr/lib/libm.dylib"
|
||||
#-darwin "/usr/lib/libm.so")
|
||||
#-(or ming32 windows darwin)
|
||||
(ffi:load-foreign-library "/usr/lib/libm.so")
|
||||
;;
|
||||
;; With this other statement, we import the C function sin(),
|
||||
;; which operates on IEEE doubles.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue