Andrew Overholt 357a57
--- plugins/org.eclipse.update.core.linux/src/build.xml.orig	2005-02-07 14:16:05.353485675 -0500
Andrew Overholt 357a57
+++ plugins/org.eclipse.update.core.linux/src/build.xml	2005-02-07 14:17:04.365259400 -0500
Andrew Overholt 357a57
@@ -47,7 +47,7 @@
Andrew Overholt 357a57
     <property name="header-path" value="${jdk-path}/../include"/>
Andrew Overholt 357a57
     <property name="header-linux-path" value="${header-path}/linux"/>
Andrew Overholt 357a57
 
Andrew Overholt 357a57
-	<echo message="gcc -o  ${library-file} -shared -I${src-path} -I${header-linux-path} ${library-file} -static -lc"/>
Andrew Overholt 357a57
+	<echo message="gcc -o  ${library-file} -shared -I${src-path} -I${header-linux-path} -fPIC ${library-file}"/>
Andrew Overholt 357a57
 
Andrew Overholt 357a57
     <apply executable="gcc" dest="${eclipse-home}/" parallel="false">
Andrew Overholt 357a57
       <arg value="-o"/>
Andrew Overholt 357a57
@@ -56,9 +56,8 @@
Andrew Overholt 357a57
       <arg value="-I${src-path}"/>
Andrew Overholt 357a57
       <arg value="-I${header-path}"/>      
Andrew Overholt 357a57
       <arg value="-I${header-linux-path}"/>  
Andrew Overholt 357a57
+      <arg value="-fPIC"/>
Andrew Overholt 357a57
 	  <srcfile/>
Andrew Overholt 357a57
-	  <arg value="-static"/>           
Andrew Overholt 357a57
-      <arg value="-lc"/>	  
Andrew Overholt 357a57
       <fileset dir="${src-path}" includes="*.c"/>
Andrew Overholt 357a57
       <mapper type="glob" from="*.c" to="*.o"/>
Andrew Overholt 357a57
     </apply>
Andrew Overholt 357a57
@@ -67,4 +66,4 @@
Andrew Overholt 357a57
   </target>
Andrew Overholt 357a57
   
Andrew Overholt 357a57
   
Andrew Overholt 357a57
-</project>
Andrew Overholt 357a57
\ No newline at end of file
Andrew Overholt 357a57
+</project>