From: Robert Schuster Date: Sat, 12 Mar 2011 11:23:34 +0000 (+0100) Subject: jna 3.2.7: Some more notes and pretty formatting. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dd12ec76eaf413ab19119ce4a96f834a878c9f6;p=openembedded.git jna 3.2.7: Some more notes and pretty formatting. --- diff --git a/recipes/jna/jna_3.2.7.bb b/recipes/jna/jna_3.2.7.bb index 2676d2e8e4..548ca87e06 100644 --- a/recipes/jna/jna_3.2.7.bb +++ b/recipes/jna/jna_3.2.7.bb @@ -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() {