From 9dd12ec76eaf413ab19119ce4a96f834a878c9f6 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sat, 12 Mar 2011 12:23:34 +0100 Subject: [PATCH] jna 3.2.7: Some more notes and pretty formatting. --- recipes/jna/jna_3.2.7.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() { -- 2.39.5