unix: fix gracket-based launcher creation

The launcher was always create assuming a specific relative path
from the "bin" drectory to the "lib" directory, but that relative
path changes in a Unix-style install.
This commit is contained in:
Matthew Flatt 2014-01-27 08:20:58 -07:00
parent e96d592735
commit b07fa81950

View File

@ -444,7 +444,10 @@
(display "# }}} bindir\n")
(when use-librktdir?
(display "# {{{ librktdir\n")
(display "librktdir=\"$bindir/../lib\"\n")
(display "librktdir=\"$bindir/")
(display (find-relative-path (find-console-bin-dir)
(find-lib-dir)))
(display "\"\n")
(display "# }}} librktdir\n"))
(newline)
(display (assemble-exec exec args)))))