Browse Source

use generic path to java

master
Michael van Elst 23 years ago committed by Ralf S. Engelschall
parent
commit
874cc7ae54
  1. 7
      tomcat-adapter/tomcat-adapter.spec

7
tomcat-adapter/tomcat-adapter.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
Group: Web
License: Apache Software License 1.1
Version: 3.2.4
Release: 20021220
Release: 20030218
# list of sources
Source0: http://jakarta.apache.org/builds/jakarta-tomcat/release/v%{version}/src/jakarta-tomcat-%{version}-src.tar.gz
@ -64,13 +64,14 @@ AutoReqProv: no
esac
# create installation tree
j=`%{l_prefix}/etc/rc --query java_home`
cd src/native/apache1.3
%{l_prefix}/sbin/apxs \
$opts \
-S CC=%{l_prefix}/bin/gcc \
-S LD_SHLIB=%{l_prefix}/bin/gcc \
-I../jk -I%{l_prefix}/libexec/j2se/include \
-I../jk -I%{l_prefix}/libexec/j2se/include/$subdir \
-I../jk -I$j/include \
-I../jk -I$j/include/$subdir \
-o mod_jk.so \
-c mod_jk.c ../jk/*.c

Loading…
Cancel
Save