tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2 build.xml
Date Tue, 07 May 2002 19:41:41 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message