From 551e8d385146e5f6ef68a3e3f8121fcf12991717 Mon Sep 17 00:00:00 2001 From: Volker Schumacher Date: Wed, 17 Feb 2010 22:09:43 +0800 Subject: mac: process .so files with install_name_tool utility as well. --- src/main/java/org/apache/maven/plugin/nar/NarUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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); } -- cgit v1.2.3