diff options
author | Kenneth Russel <[email protected]> | 2009-06-13 00:59:10 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-13 00:59:10 +0000 |
commit | f3d18360dc11a0efc13f30a69753a286afb944c0 (patch) | |
tree | 860debc46d506b1ee97a190238c211652893d6f3 /make/build.xml | |
parent | 08e2574de78f858c1a4656521df9fe8cc2900a2c (diff) |
Fixed build problems with VC9 where manifests were not installed
correctly into DLLs; updated documentation
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@144 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'make/build.xml')
-rwxr-xr-x | make/build.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 385256f..2dadefc 100755 --- a/make/build.xml +++ b/make/build.xml @@ -331,6 +331,11 @@ <move file="../${rootrel.build}/obj/libgluegen-rt.dylib" tofile="../${rootrel.build}/obj/libgluegen-rt.jnilib" /> </target> + <target name="c.manifest" if="isVC8Family"> + <!-- exec mt, the Microsoft Manifest Tool, to include DLL manifests in order to resolve the location of msvcr80.dll --> + <msvc.manifest objdir="../${rootrel.build}/obj" dllname="gluegen-rt" /> + </target> + <target name="c.build" depends="c.configure" unless="build.javaonly" > <fail message="Requires '${c.compiler.src.files}'" unless="c.compiler.src.files"/> <fail message="Requires '${compiler.cfg.id}'" unless="compiler.cfg.id"/> @@ -384,6 +389,7 @@ <antcall target="c.rename.lib.mingw" inheritRefs="true" /> <antcall target="c.rename.lib.macosx" inheritRefs="true" /> + <antcall target="c.manifest" inheritRefs="true" /> <!-- Create Java Web Start jar file from built file --> <jar destfile="../${rootrel.build}/gluegen-rt-natives-${os.and.arch}.jar"> <fileset dir="../${rootrel.build}/obj"> |