0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[windows] build static

This commit is contained in:
Witold Filipczyk
2023-11-04 22:02:12 +01:00
parent 5a8ab5f039
commit d6f7e86623
3 changed files with 23 additions and 1 deletions

15
doc/tools/elinks_wine.py Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/python3
import os
import sys
if __name__ == '__main__':
was_elinks = False
with os.popen('wine {0} {1}'.format(os.getenv('ELINKS_BINARY'), sys.argv[1]), 'r') as fi:
for line in fi:
if not was_elinks:
if not line.startswith('ELinks'):
continue
was_elinks = True
print(line, end='')
sys.exit(0)