diff options
author | Volker Schumacher <volker@antenna500.local> | 2010-01-05 08:40:23 +0800 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2010-01-07 23:52:46 +0800 |
commit | 742f18fe81440725ed04a29455f04ea9af7341b3 (patch) | |
tree | e1ae489502df8f23e6c10c75c3167befcada9174 | |
parent | a16d818f5317d58ed0908450d7c24394360607b6 (diff) | |
download | maven-nar-plugin-742f18fe81440725ed04a29455f04ea9af7341b3.tar.gz maven-nar-plugin-742f18fe81440725ed04a29455f04ea9af7341b3.tar.bz2 maven-nar-plugin-742f18fe81440725ed04a29455f04ea9af7341b3.tar.xz maven-nar-plugin-742f18fe81440725ed04a29455f04ea9af7341b3.zip |
don't link header-only libraries.
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |