aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-jogl.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-09 20:10:08 +0200
committerSven Gothel <[email protected]>2011-08-09 20:10:08 +0200
commit56f1fde24ddbabf0adbe1bb22654cf72aa69e9e4 (patch)
tree11b33e0e3f0760a9076d5f6f053bad69fa704156 /make/build-jogl.xml
parent4087b1635ec5f20befae2c812caa01b2b61f2257 (diff)
Android: Add android/EGL lib for linkage
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r--make/build-jogl.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index a6aa04e5a..765c76809 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -1095,6 +1095,10 @@
<syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="Xxf86vm" />
</linker>
+ <linker id="linker.cfg.android.jogl" extends="linker.cfg.android">
+ <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="EGL" />
+ </linker>
+
<linker id="linker.cfg.solaris.jogl.x11" extends="linker.cfg.solaris">
<syslibset libs="X11"/>
</linker>
@@ -1190,7 +1194,7 @@
<target name="c.configure.android" if="isAndroid">
<echo message="Android" />
<property name="compiler.cfg.id" value="compiler.cfg.android" />
- <property name="linker.cfg.id.os" value="linker.cfg.android" />
+ <property name="linker.cfg.id.os" value="linker.cfg.android.jogl" />
</target>
<target name="c.configure.solaris32" depends="c.configure.x11" if="isSolaris32Bit">
@@ -1410,7 +1414,7 @@
<c.build c.compiler.src.files="c.src.files.jogl.mobile"
output.lib.name="jogl_mobile"
compiler.cfg.id="${compiler.cfg.id}"
- linker.cfg.id="${linker.cfg.id.base}"/>
+ linker.cfg.id="${linker.cfg.id.os}"/>
</target>
<target name="c.build.jogl.cg" if="setup.addNativeNVidiaCG">