From 2d126876038bc96c9e9a9c9a257732c854c1eb25 Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Thu, 20 Oct 2016 16:07:02 +0200 Subject: [PATCH 1/2] Add jni, jvm, sparkle. inline-java omitted for now since it only works on upcoming 8.0.2. --- build-constraints.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index 86580255..9ae52af7 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -1510,6 +1510,9 @@ packages: - distributed-closure - H - inline-r + - jni + - jvm + - sparkle - th-lift "Christopher Reichert @creichert": @@ -2244,8 +2247,6 @@ packages: "Alp Mestanogullari @alpmestan": - taggy - taggy-lens - # 0.1 Compilation failure https://github.com/fpco/stackage/issues/1660 - inline-java - # via inline-java - sparkle "Alex McLean @yaxu": - tidal From b0a25fc6c70aa9815078946c9048f5ddef6bf14f Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Thu, 20 Oct 2016 16:40:39 +0200 Subject: [PATCH 2/2] Set configure-args for jni, since package name changed. Also set for sparkle. --- build-constraints.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index 9ae52af7..462a0785 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -2717,7 +2717,12 @@ package-flags: # Special configure options for individual packages configure-args: - inline-java: + jni: + - --extra-lib-dirs + - /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server + - --extra-include-dirs + - /usr/lib/jvm/java-8-openjdk-amd64/include + sparkle: - --extra-lib-dirs - /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server - --extra-include-dirs