mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +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);
|
||||
Py_Initialize();
|
||||
PyRun_SimpleString("import sys");
|
||||
signal(SIGINT, SIG_DFL);
|
||||
}
|
||||
signal(SIGINT, SIG_DFL);
|
||||
#endif
|
||||
|
||||
init_share_dirname();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue