mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 21:51:28 +00:00
Fixes for Windows Zenmap build
This commit is contained in:
@@ -62,6 +62,10 @@ import sys
|
||||
import configparser
|
||||
import shutil
|
||||
|
||||
# https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
|
||||
if os.add_dll_directory:
|
||||
os.add_dll_directory(os.path.dirname(sys.executable))
|
||||
|
||||
# Cause an exception if PyGTK can't open a display. Normally this just
|
||||
# produces a warning, but the lack of a display eventually causes a
|
||||
# segmentation fault. See http://live.gnome.org/PyGTK/WhatsNew210.
|
||||
|
||||
Reference in New Issue
Block a user