avoid full paths to dlls

svn: r11182
This commit is contained in:
Eli Barzilay 2008-08-11 15:00:45 +00:00
parent 790a5ad30d
commit 4030ac05a5

View File

@ -13,11 +13,15 @@
(make-mred-launcher
'("-z")
(mred-program-launcher-path "mred-text")
'([relative? . #t] [subsystem . console] [single-instance? . #f]))))))
'([relative? . #t] [subsystem . console] [single-instance? . #f]
;; the following two are required to avoid using a full path,
;; should be removed when `relative?' will imply this
[framework-root . #f] [dll-dir . #f]))))))
;; add a bin/mred script under OS X
(when (eq? 'macosx (system-type))
(for ([v variants] #:when (memq v '(script-3m script-cgc)))
(parameterize ([current-launcher-variant v])
(make-mred-launcher null
(mred-program-launcher-path "MrEd")
'([exe-name . "MrEd"] [relative? . #t]))))))
'([exe-name . "MrEd"] [relative? . #t]
[framework-root . #f] [dll-dir . #f]))))))