From a8b2a69aed12c5cc0979403258baf0e64a379372 Mon Sep 17 00:00:00 2001 From: "pedemont%us.ibm.com" Date: Mon, 17 Jan 2005 21:18:11 +0000 Subject: [PATCH] Set proper extension on JNI lib for MacOSX. --- extensions/java/xpcom/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/java/xpcom/Makefile.in b/extensions/java/xpcom/Makefile.in index ae5e796c9d02..e6dfe341f2f2 100644 --- a/extensions/java/xpcom/Makefile.in +++ b/extensions/java/xpcom/Makefile.in @@ -46,6 +46,11 @@ include $(topsrcdir)/config/config.mk MODULE = javaxpcom LIBRARY_NAME = javaxpcom +# On Mac OS X, JNI libraries must end with a '.jnilib' extension +ifeq ($(OS_ARCH),Darwin) +DLL_SUFFIX = .jnilib +endif + REQUIRES = xpcom \ string \ embed_base \