diff options
author | Ask Solem <ask@celeryproject.org> | 2015-10-02 14:41:18 -0700 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2015-10-02 14:41:18 -0700 |
commit | b518d61b45bc61761db5be2cda5cf8af83e4b9d6 (patch) | |
tree | d262651d8e767076b10730dfb7d19d857855aa6b | |
parent | e5f3e1ef9b2c934856fb4cd4fa6d581223827bf4 (diff) | |
download | py-amqp-b518d61b45bc61761db5be2cda5cf8af83e4b9d6.tar.gz |
Fixes libSystem error on El Capitan (see celery/kombu#522)
-rw-r--r-- | amqp/five.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amqp/five.py b/amqp/five.py index 5157df5..5168b70 100644 --- a/amqp/five.py +++ b/amqp/five.py @@ -142,7 +142,7 @@ if sys.version_info < (3, 3): if SYSTEM == 'Darwin': import ctypes from ctypes.util import find_library - libSystem = ctypes.CDLL('libSystem.dylib') + libSystem = ctypes.CDLL(find_library('libSystem.dylib')) CoreServices = ctypes.CDLL(find_library('CoreServices'), use_errno=True) mach_absolute_time = libSystem.mach_absolute_time |