From 742f18fe81440725ed04a29455f04ea9af7341b3 Mon Sep 17 00:00:00 2001 From: Volker Schumacher Date: Tue, 5 Jan 2010 08:40:23 +0800 Subject: don't link header-only libraries. --- src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java b/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java index 08a8ff1..fad50fa 100644 --- a/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java +++ b/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java @@ -309,13 +309,13 @@ public class NarCompileMojo // FIXME no handling of "local" // FIXME, no way to override this at this stage - String binding = dependency.getNarInfo().getBinding( getAOL(), Library.STATIC ); + String binding = dependency.getNarInfo().getBinding( getAOL(), Library.NONE ); getLog().debug( "Using Binding: " + binding ); AOL aol = getAOL(); aol = dependency.getNarInfo().getAOL( getAOL() ); getLog().debug( "Using Library AOL: " + aol.toString() ); - if ( !binding.equals( Library.JNI ) ) + if ( !binding.equals( Library.JNI ) && !binding.equals( Library.NONE ) ) { File unpackDirectory = getUnpackDirectory(); -- cgit v1.2.3