aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-sigar/tirpc.patch
blob: 41454e531311d4731a569810a017895e9fce94e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/bindings/java/build.xml
+++ b/bindings/java/build.xml
@@ -223,6 +223,7 @@
       <path location="../../src/os/${jni.src}"/>
       <path location="${build}/src"/>
       <path location="src/jni"/>
+      <path location="/usr/include/tirpc"/>
     </path>
 
     <!-- extra solaris libs -->
@@ -243,6 +243,14 @@
     <condition property="jni.libset.libs" value="odm,cfg,perfstat,pthreads">
       <isset property="aix"/>
     </condition>
+
+    <condition property="jni.libset.dir" value="/usr/lib">
+      <isset property="linux"/>
+    </condition>
+
+    <condition property="jni.libset.libs" value="tirpc">
+      <isset property="linux"/>
+    </condition>
   </target>
 
   <target name="copy-includes">