mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-29 19:42:12 +00:00
fix
This commit is contained in:
@@ -13,8 +13,13 @@ for required_key in ("LDLIBRARY", "LIBDEST", "LIBDIR", "LIBPL"):
|
||||
pprint(config)
|
||||
raise SystemExit(1)
|
||||
|
||||
so_ext = config['SO']
|
||||
so_ext = so_ext[so_ext.rindex("."):]
|
||||
if sys.platform == "darwin":
|
||||
so_ext = "dylib"
|
||||
elif sys.platform.startswith("linux"):
|
||||
so_ext = "so"
|
||||
else:
|
||||
so_ext = "dll"
|
||||
|
||||
library = "*python%s*%s" % (sysconfig.get_python_version(), so_ext)
|
||||
pprint(library)
|
||||
for libpath in ('LIBDEST', 'LIBDIR', 'LIBPL'):
|
||||
|
||||
Reference in New Issue
Block a user