mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get podofo building on older compilers on linux
This commit is contained in:
parent
a5b5a6bc6e
commit
bf199d6bfa
@ -53,6 +53,8 @@ class Extension(object):
|
||||
|
||||
if not self.needs_cxx and kwargs.get('needs_c99'):
|
||||
self.cflags.insert(0, '-std=c99')
|
||||
if self.needs_cxx and kwargs.get('needs_c++11'):
|
||||
self.cflags.insert(0, '-std=c++11')
|
||||
|
||||
self.ldflags = d['ldflags'] = kwargs.get('ldflags', [])
|
||||
self.optional = d['options'] = kwargs.get('optional', False)
|
||||
|
@ -121,7 +121,8 @@
|
||||
"libraries": "podofo",
|
||||
"lib_dirs": "!podofo_lib",
|
||||
"inc_dirs": "!podofo_inc",
|
||||
"error": "!podofo_error"
|
||||
"error": "!podofo_error",
|
||||
"needs_c++11": true
|
||||
},
|
||||
{
|
||||
"name": "pictureflow",
|
||||
|
Loading…
x
Reference in New Issue
Block a user