summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorVolker Schumacher <volker@antenna500.local>2010-02-17 22:09:43 +0800
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2010-02-21 05:21:25 +0800
commit551e8d385146e5f6ef68a3e3f8121fcf12991717 (patch)
tree585814d5782310a8a0b27a27cd5b280eef9cfdb2 /src/main
parent961b66693792efe0f1d3d28c7f844e94728c3057 (diff)
downloadmaven-nar-plugin-551e8d385146e5f6ef68a3e3f8121fcf12991717.tar.gz
maven-nar-plugin-551e8d385146e5f6ef68a3e3f8121fcf12991717.tar.bz2
maven-nar-plugin-551e8d385146e5f6ef68a3e3f8121fcf12991717.tar.xz
maven-nar-plugin-551e8d385146e5f6ef68a3e3f8121fcf12991717.zip
mac: process .so files with install_name_tool utility as well.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarUtil.java b/src/main/java/org/apache/maven/plugin/nar/NarUtil.java
index 2d4f221..751cce0 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarUtil.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarUtil.java
@@ -291,7 +291,7 @@ public final class NarUtil
String fileName = file.getName();
if ( file.isFile() && file.canWrite()
- && ( fileName.endsWith( ".dylib" ) || (fileName.endsWith( ".jnilib" ))))
+ && ( fileName.endsWith( ".so" ) || fileName.endsWith( ".dylib" ) || (fileName.endsWith( ".jnilib" ))))
{
candidates.add(file);
}