summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-04-09 14:47:58 -0700
committerLi Haoyi <haoyi.sg@gmail.com>2018-04-09 14:48:14 -0700
commite1da1bf0ffadff564462701e44020a9c74505fe2 (patch)
tree87773b289b3c1c5ec4004cc511cc8bfeab1a1d73 /build.sc
parent9ffa31c58357eea95b9e937471044930f228d2ca (diff)
downloadmill-e1da1bf0ffadff564462701e44020a9c74505fe2.tar.gz
mill-e1da1bf0ffadff564462701e44020a9c74505fe2.tar.bz2
mill-e1da1bf0ffadff564462701e44020a9c74505fe2.zip
Another attempt to add jna.nosys property to release executable
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.sc b/build.sc
index 667a1699..b48a41a8 100755
--- a/build.sc
+++ b/build.sc
@@ -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")
)