Skip to content

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

@todo

Description

@todo

// 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions