mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:03:26 +02:00
...
This commit is contained in:
parent
4ba3255dd1
commit
81d1a3b922
1 changed files with 1 additions and 0 deletions
|
|
@ -336,6 +336,7 @@ def build_launchers(self):
|
|||
for mod, bname, func in zip(modules[typ], basenames[typ],
|
||||
functions[typ]):
|
||||
xflags = list(cflags)
|
||||
xflags.remove('-c')
|
||||
xflags += ['-DGUI_APP='+('1' if typ == 'gui' else '0')]
|
||||
xflags += ['-DMODULE="%s"'%mod, '-DBASENAME="%s"'%bname,
|
||||
'-DFUNCTION="%s"'%func]
|
||||
|
|
|
|||
Loading…
Reference in a new issue