From: Matt Birkholz Date: Wed, 23 Jan 2019 20:46:35 +0000 (-0700) Subject: x11: Link to deprecated (runtime x-graphics) bindings when loaded. X-Git-Tag: mit-scheme-pucked-10.1.10~6^2~28 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b0ea100a310b3b09134a162aca42e16c1c71bda6;p=mit-scheme.git x11: Link to deprecated (runtime x-graphics) bindings when loaded. --- diff --git a/src/runtime/x11graph.scm b/src/runtime/x11graph.scm index c8ff1455b..7f5e10086 100644 --- a/src/runtime/x11graph.scm +++ b/src/runtime/x11graph.scm @@ -40,8 +40,7 @@ USA. (or linked? (begin (load-option 'x11) - (link!) - #t)))) + linked?)))) (define (link!) (for-each diff --git a/src/x11/make.scm b/src/x11/make.scm index 24378cd63..5b4cf9c36 100644 --- a/src/x11/make.scm +++ b/src/x11/make.scm @@ -5,4 +5,6 @@ Load the X11 option. |# (with-loader-base-uri (system-library-uri "x11/") (lambda () (load-package-set "x11"))) -(add-subsystem-identification! "X11" '(1 2)) \ No newline at end of file +(add-subsystem-identification! "X11" '(1 3)) + +((access link! (->environment '(runtime x-graphics)))) \ No newline at end of file