You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/05/07 21:41:41 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2 build.xml
costin 02/05/07 12:41:41
Modified: jk/native2 build.xml
Log:
Jni must be linked against apr.so ( and crypt.so )
Revision Changes Path
1.25 +8 -0 jakarta-tomcat-connectors/jk/native2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/build.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- build.xml 25 Apr 2002 19:23:40 -0000 1.24
+++ build.xml 7 May 2002 19:41:40 -0000 1.25
@@ -182,6 +182,10 @@
<target name="jni" depends="init">
<mkdir dir="${build.dir}/jni" />
+ <!-- can be overriden -->
+ <property name="apr.home" location="${apache2.home}" />
+ <property name="apr.include" location="${apr.home}/include" />
+ <property name="apr.lib" location="${apr.home}/lib" />
<so sofile="libjkjni"
buildDir="${build.dir}/jni"
optimize="${so.optimize}"
@@ -214,6 +218,10 @@
</depends>
<!-- Platform-specific tags -->
+ <linkOpt value="-lcrypt" if="linux" />
+ <linkOpt value="-L${apr.lib}" if="linux" />
+ <linkOpt value="-lapr" if="linux" />
+
<altSoFile value="jni_conn" if="netware" />
<def name="N_PLAT_NLM" if="netware"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>