This commit is contained in:
parent
05fac9217a
commit
9eecd99f42
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global java_home %{_jvmdir}/java
|
|
||||||
%global make make
|
%global make make
|
||||||
Name: libreadline-java
|
Name: libreadline-java
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
@ -69,8 +68,6 @@ find . -name "*.jar" -exec rm -f {} \;
|
|||||||
sed -i 's|@LIBDIR@|%{_libdir}|' src/org/gnu/readline/Readline.java
|
sed -i 's|@LIBDIR@|%{_libdir}|' src/org/gnu/readline/Readline.java
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export JAVA_HOME=%{java_home}
|
|
||||||
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
|
|
||||||
%make CFLAGS="%{optflags} -fPIC -DPOSIX" T_LIBS=JavaEditline -j1
|
%make CFLAGS="%{optflags} -fPIC -DPOSIX" T_LIBS=JavaEditline -j1
|
||||||
%make apidoc -j1
|
%make apidoc -j1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user