use .dylib instead of .jnilib as OS X library suffix

This matches the behavior of System.mapLibraryName on
JDK 7 and later.
This commit is contained in:
Joel Dice 2014-10-28 14:53:43 -06:00
parent f25d5921a5
commit 2776e98bf5

View File

@ -46,7 +46,7 @@
#define SO_PREFIX "lib"
#ifdef __APPLE__
#define SO_SUFFIX ".jnilib"
#define SO_SUFFIX ".dylib"
#include <TargetConditionals.h>
#if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_IPHONE
#include <CoreServices/CoreServices.h>