diff options
author | Sven Gothel <[email protected]> | 2011-08-30 14:12:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-30 14:12:18 +0200 |
commit | 78b7732498099e1cc6bbedfa7437bb3c8955cfc5 (patch) | |
tree | f0b20d2811a521a7781042e61713ef38529e589b /make/build-nativewindow.xml | |
parent | 0ef3b4a67ba4e287fa7e9407e08838019f6f6cf6 (diff) |
Proper classpath for all javah commands, using 'rootrel.build'
Diffstat (limited to 'make/build-nativewindow.xml')
-rw-r--r-- | make/build-nativewindow.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml index 7653452a4..e5956782c 100644 --- a/make/build-nativewindow.xml +++ b/make/build-nativewindow.xml @@ -120,6 +120,8 @@ <!-- The compiler output directories. --> <property name="classes" value="${build.nativewindow}/classes" /> + <property name="javah.classpath" value="${gluegen-rt.jar}:${classes}" /> + <!-- The headers from which Java files are generated --> <dirset id="stub.includes.fileset.all" dir="."> <include name="${stub.includes}/macosx/**" /> @@ -666,7 +668,7 @@ </target> <target name="c.build.nativewindow.windowlib.x11" if="isX11"> - <javah destdir="${src.generated.c}/X11" classpath="${classes}" class="jogamp.nativewindow.x11.X11Lib" /> + <javah destdir="${src.generated.c}/X11" classpath="${javah.classpath}" class="jogamp.nativewindow.x11.X11Lib" /> <c.build c.compiler.src.files="c.src.files.x11" output.lib.name="nativewindow_x11" @@ -675,7 +677,7 @@ </target> <target name="c.build.nativewindow.windowlib.windows" if="isWindows"> - <javah destdir="${src.generated.c}/Windows" classpath="${classes}:${gluegen.root}/build/classes" class="jogamp.nativewindow.windows.GDI" /> + <javah destdir="${src.generated.c}/Windows" classpath="${javah.classpath}" class="jogamp.nativewindow.windows.GDI" /> <c.build c.compiler.src.files="c.src.files.windows" output.lib.name="nativewindow_win32" |