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