diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-04-09 14:47:58 -0700 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-04-09 14:48:14 -0700 |
commit | e1da1bf0ffadff564462701e44020a9c74505fe2 (patch) | |
tree | 87773b289b3c1c5ec4004cc511cc8bfeab1a1d73 | |
parent | 9ffa31c58357eea95b9e937471044930f228d2ca (diff) | |
download | mill-e1da1bf0ffadff564462701e44020a9c74505fe2.tar.gz mill-e1da1bf0ffadff564462701e44020a9c74505fe2.tar.bz2 mill-e1da1bf0ffadff564462701e44020a9c74505fe2.zip |
Another attempt to add jna.nosys property to release executable
-rwxr-xr-x | build.sc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -341,7 +341,12 @@ def release = T{ createAssembly( dev.runClasspath().map(_.path), prependShellScript = launcherScript( - Seq("-DMILL_VERSION=" + publishVersion()._2), + Seq( + "-DMILL_VERSION=" + publishVersion()._2, + // Workaround for Zinc/JNA bug + // https://github.com/sbt/sbt/blame/6718803ee6023ab041b045a6988fafcfae9d15b5/main/src/main/scala/sbt/Main.scala#L130 + "-Djna.nosys=true" + ), Agg("$0"), Agg("%~dpnx0") ) |