diff setup.py @ 87517:cbd78679080b 3.3

1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects _decimal: o Make all "mpd_t to C integer" conversion functions available in both the 64-bit and the 32-bit versions. o Make all mixed mpd_t/C integer arithmetic functions available in the 32-bit version. o Better handling of __STDC_LIMIT_MACROS for C++ users. o Add struct tags (at the request of C++ users). 2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
author Stefan Krah <skrah@bytereef.org>
date Sun, 24 Nov 2013 19:44:57 +0100
parents d7662958b27a
children 9d07b3eb34e3
line wrap: on
line diff
--- a/setup.py	Sun Nov 24 18:15:37 2013 +0200
+++ b/setup.py	Sun Nov 24 19:44:57 2013 +0100
@@ -1945,7 +1945,7 @@
         undef_macros = []
         if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
             include_dirs = []
-            libraries = ['mpdec']
+            libraries = [':libmpdec.so.2']
             sources = ['_decimal/_decimal.c']
             depends = ['_decimal/docstrings.h']
         else: