pythonlib

This commit is contained in:
Vitor Santos Costa 2017-05-08 18:53:43 +01:00
parent c2435673cd
commit 48a2066f54

8
cmake/libfind.py Normal file
View File

@ -0,0 +1,8 @@
import sysconfig
import os.path
v = sysconfig.get_python_version()
p = sysconfig.get_config_var('LIBPL')
l = sysconfig.get_config_var('LDLIBRARY')
print(os.path.join(p,l))