mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
ceph.spec.in: Improve finding location of jni.h for sles11.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
This commit is contained in:
parent
46344105e7
commit
d9c2396b55
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user