mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-25 15:23:42 +00:00
Move signal outside Py_IsInitialized
This commit is contained in:
parent
60d7723a64
commit
737e95d3e9
1 changed files with 1 additions and 1 deletions
|
@ -561,8 +561,8 @@ void yosys_setup()
|
||||||
PyImport_AppendInittab((char*)"libyosys", INIT_MODULE);
|
PyImport_AppendInittab((char*)"libyosys", INIT_MODULE);
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
PyRun_SimpleString("import sys");
|
PyRun_SimpleString("import sys");
|
||||||
signal(SIGINT, SIG_DFL);
|
|
||||||
}
|
}
|
||||||
|
signal(SIGINT, SIG_DFL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
init_share_dirname();
|
init_share_dirname();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue