diff options
author | Gary Lowell <gary.lowell@inktank.com> | 2012-12-18 21:00:15 -0800 |
---|---|---|
committer | Gary Lowell <gary.lowell@inktank.com> | 2012-12-18 21:00:15 -0800 |
commit | d9c2396b550a13b6f1018e02c2ef92abdcce92cf (patch) | |
tree | 6e558420db06b7e0ec70e6e2015121dd13d0a8bf | |
parent | 46344105e7b349ca98849fd60079950771251630 (diff) | |
download | ceph-d9c2396b550a13b6f1018e02c2ef92abdcce92cf.tar.gz |
ceph.spec.in: Improve finding location of jni.h for sles11.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
-rw-r--r-- | ceph.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index 6f95c56c8ca..7aae6fefedb 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -222,8 +222,8 @@ This package contains the Java libraries for the Ceph File System. %build # Find jni.h -for i in -I/usr/lib/jvm/java/include{,/linux}; do - java_inc="$java_inc $i" +for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do + [ -d $i ] && java_inc="$java_inc -I$i" done ./autogen.sh |