[llvm-commits] [vmkit] r51045 - /vmkit/trunk/lib/JnJVM/VMCore/JavaInitialise.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue May 13 07:55:30 PDT 2008
Author: geoffray
Date: Tue May 13 09:55:30 2008
New Revision: 51045
URL: http://llvm.org/viewvc/llvm-project?rev=51045&view=rev
Log:
Use the ".dylib" postfix on Darwin.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaInitialise.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaInitialise.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaInitialise.cpp?rev=51045&r1=51044&r2=51045&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaInitialise.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaInitialise.cpp Tue May 13 09:55:30 2008
@@ -174,7 +174,11 @@
Jnjvm::clinitType = vm->asciizConstructUTF8("()V");
Jnjvm::runName = vm->asciizConstructUTF8("run");
Jnjvm::prelib = vm->asciizConstructUTF8("lib");
+#if defined(__MACH__)
+ Jnjvm::postlib = vm->asciizConstructUTF8(".dylib");
+#else
Jnjvm::postlib = vm->asciizConstructUTF8(".so");
+#endif
Jnjvm::mathName = vm->asciizConstructUTF8("java/lang/Math");
#define DEF_UTF8(var) \
More information about the llvm-commits
mailing list