diff --git a/src/koga/ninja.lisp b/src/koga/ninja.lisp index e30e3b13b9..21f2f7ae7d 100644 --- a/src/koga/ninja.lisp +++ b/src/koga/ninja.lisp @@ -6,7 +6,9 @@ (defun wrap-with-env (configuration executable-name) (if (reproducible-build configuration) - (format nil "LD_LIBRARY_PATH=~a ~a" + (format nil + #+darwin "DYLD_LIBRARY_PATH=~a ~a" + #-darwin "LD_LIBRARY_PATH=~a ~a" (make-source "lib/" :variant) executable-name) executable-name))