setup/cross-system: configure reader properly

This commit is contained in:
Matthew Flatt 2016-01-08 18:27:43 -07:00
parent 8e162082e1
commit 7b4c91ea21

View File

@ -15,9 +15,11 @@
(define ht (and lib-dir
(let ([f (build-path lib-dir "system.rktd")])
(and (file-exists? f)
(let ([ht (call-with-input-file*
f
read)])
(let ([ht (call-with-default-reading-parameterization
(lambda ()
(call-with-input-file*
f
read)))])
(and (hash? ht)
(for/and ([sym (in-list (list*
'library-subpath