jna 3.2.7: Some more notes and pretty formatting.
authorRobert Schuster <rschus@tarub.tarent.buero>
Sat, 12 Mar 2011 11:23:34 +0000 (12:23 +0100)
committerRobert Schuster <rschus@tarub.tarent.buero>
Sat, 12 Mar 2011 11:23:34 +0000 (12:23 +0100)
recipes/jna/jna_3.2.7.bb

index 2676d2e..548ca87 100644 (file)
@@ -23,10 +23,14 @@ do_compile() {
        # Move created jar into subdir and give it proper name
        mv build/jna.jar ${JARFILENAME}
 
+       # Native compilation in build.xml is overly complex. With full control of the
+       # output directories we just do it on our own.
        ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -o libjnidispatch.so \
                native/dispatch.c \
                native/callback.c \
-               -Ibuild/native -I${STAGING_INCDIR}/classpath -lffi
+               -Ibuild/native \
+               -I${STAGING_INCDIR}/classpath \
+               -lffi
 }
 
 do_install_append() {