| 1 |
--- plugins/org.eclipse.update.core.linux/src/build.xml.orig 2005-02-07 14:16:05.353485675 -0500
|
| 2 |
+++ plugins/org.eclipse.update.core.linux/src/build.xml 2005-02-07 14:17:04.365259400 -0500
|
| 3 |
@@ -47,7 +47,7 @@
|
| 4 |
<property name="header-path" value="${jdk-path}/../include"/>
|
| 5 |
<property name="header-linux-path" value="${header-path}/linux" />
|
| 6 |
|
| 7 |
- <echo message="gcc -o ${library-file} -shared -I${src-path} -I${header-linux-path} ${library-file} -static -lc"/>
|
| 8 |
+ <echo message="gcc -o ${library-file} -shared -I${src-path} -I${header-linux-path} -fPIC ${library-file}"/>
|
| 9 |
|
| 10 |
<apply executable="gcc" dest="${eclipse-home}/" parallel="false">
|
| 11 |
<arg value="-o"/>
|
| 12 |
@@ -56,9 +56,8 @@
|
| 13 |
<arg value="-I${src-path}"/>
|
| 14 |
<arg value="-I${header-path}"/>
|
| 15 |
<arg value="-I${header-linux-path}"/>
|
| 16 |
+ <arg value="-fPIC"/>
|
| 17 |
<srcfile/>
|
| 18 |
- <arg value="-static"/>
|
| 19 |
- <arg value="-lc"/>
|
| 20 |
<fileset dir="${src-path}" includes="*.c"/>
|
| 21 |
<mapper type="glob" from="*.c" to="*.o"/>
|
| 22 |
</apply>
|
| 23 |
@@ -67,4 +66,4 @@
|
| 24 |
</target>
|
| 25 |
|
| 26 |
|
| 27 |
-</project>
|
| 28 |
\ No newline at end of file
|
| 29 |
+</project>
|