1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 06:45:55 +02:00

gnu: ecj-javac-wrapper: Remove rt.jar from classpath.

* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Do not add jamvm's
rt.jar to the classpath.
This commit is contained in:
Ricardo Wurmus
2021-12-17 17:20:16 +01:00
parent 3287c7c781
commit abbe291fc2
+1 -4
View File
@@ -544,10 +544,7 @@ requirement for all GNU Classpath releases after version 0.93.")
(define (main args)
(let ((classpath (getenv "CLASSPATH")))
(setenv "CLASSPATH"
(string-join (list ,ecj
,(string-append (assoc-ref %build-inputs "jamvm")
"/lib/rt.jar")
(or classpath ""))
(string-join (list ,ecj (or classpath ""))
":")))
(receive (vm-args other-args)
;; Separate VM arguments from arguments to ECJ.