From 4d2ff692c67133647063cf3e9af871a011ea8e8b Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 20 Oct 2008 13:04:47 +0000 Subject: [PATCH] Remove bundles on OSX --- direct/src/extensions_native/extension_native_helpers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/extensions_native/extension_native_helpers.py b/direct/src/extensions_native/extension_native_helpers.py index 31713ad9e8..bd57aab839 100644 --- a/direct/src/extensions_native/extension_native_helpers.py +++ b/direct/src/extensions_native/extension_native_helpers.py @@ -20,11 +20,11 @@ if sys.platform == "win32": # libpanda_d.dll, etc. if sys.executable.endswith('_d.exe'): dll_suffix = '_d' - +elif sys.platform == "darwin": + # On OSX, the dynamic libraries usually end in .dylib. + dll_ext = '.dylib' else: - # On OSX or Linux, dynamic libraries end in ".so". OSX also - # provides *.dylib files, but these are apparently not intended to - # be imported directly. + # On most other UNIX systems (including linux), .so is used. dll_ext = '.so' if sys.platform == "win32":