]> git.pld-linux.org Git - packages/plplot.git/commitdiff
- export JAVA_HOME to find cmake to find JNI components
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Jul 2012 10:36:11 +0000 (12:36 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Jul 2012 10:36:11 +0000 (12:36 +0200)
plplot.spec

index a8ebedab778fa799b6588a582b107a90de41c3a0..2a7d0f34c684937109808fd657f406ac6b3e48a2 100644 (file)
@@ -625,6 +625,8 @@ Biblioteka PLplot - przykłady do wiązania dla Pythona.
 %build
 mkdir build
 cd build
+# required for cmake to find JNI headers/libs when lib64 is in use
+%{?with_java:export JAVA_HOME=%{_jvmlibdir}/java}
 # NOTE: no %{_libdir}/jni in PLD, use plain %{_libdir}
 %cmake .. \
 %if %{with ada}
This page took 0.14505 seconds and 4 git commands to generate.