Windows-add-libdir-to-PATH   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmti.xtm

Implementation

(define Windows-add-libdir-to-PATH
  (lambda ()
    (let ((path (sys:command-output "echo %PATH%")))
      (if (not (string-contains? path "libs/platform-shlibs"))
          (sys:set-env "PATH" (string-append path ";" (sys:share-dir) "/libs/platform-shlibs"))))))


Back to Index