Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Someting like PyRun_String("sysconfig.get_config_var('LDLIBRARY')") #7

Open
todo bot opened this issue Mar 25, 2020 · 0 comments
Open

Someting like PyRun_String("sysconfig.get_config_var('LDLIBRARY')") #7

todo bot opened this issue Mar 25, 2020 · 0 comments

Comments

@todo
Copy link

todo bot commented Mar 25, 2020

// TODO: Someting like PyRun_String("sysconfig.get_config_var('LDLIBRARY')")
// should be used to extract shared object name for current interpreter
const auto &libName = QString("libpython3.%1.so").arg(PY_MINOR_VERSION).toStdString();
if (NULL == dlopen(libName.c_str(), RTLD_GLOBAL | RTLD_LAZY)) {
qFatal("Failed to load %s", libName.c_str());
abort();


This issue was generated by todo based on a TODO comment in e307140 when #6 was merged. cc @trikset.
@todo todo bot added the todo 🗒️ label Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants