[oe-commits] Robert Schuster : jna 3.2.7: Some more notes and pretty formatting.

git version control git at git.openembedded.org
Sat Mar 12 11:25:58 UTC 2011


Module: openembedded.git
Branch: master
Commit: 9dd12ec76eaf413ab19119ce4a96f834a878c9f6
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9dd12ec76eaf413ab19119ce4a96f834a878c9f6

Author: Robert Schuster <rschus at tarub.tarent.buero>
Date:   Sat Mar 12 12:23:34 2011 +0100

jna 3.2.7: Some more notes and pretty formatting.

---

 recipes/jna/jna_3.2.7.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/jna/jna_3.2.7.bb b/recipes/jna/jna_3.2.7.bb
index 2676d2e..548ca87 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() {





More information about the Openembedded-commits mailing list