Fix thinko in bda7041643
This commit is contained in:
parent
3b0e421de4
commit
2e991b0067
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from waflib.extras import autowaf as autowaf
|
from waflib.extras import autowaf as autowaf
|
||||||
import sys
|
import sys
|
||||||
import re
|
|
||||||
|
|
||||||
# Version of this package (even if built as a child)
|
# Version of this package (even if built as a child)
|
||||||
MAJOR = '2'
|
MAJOR = '2'
|
||||||
@ -53,7 +52,7 @@ def build(bld):
|
|||||||
obj.use = ''
|
obj.use = ''
|
||||||
obj.uselib = 'GLIB GIO GOBJECT LIBPNG'
|
obj.uselib = 'GLIB GIO GOBJECT LIBPNG'
|
||||||
obj.defines = [ 'HAVE_CONFIG_H', '_LARGEFILE64_SOURCE', '_REENTRANT', 'G_LOG_DOMAIN="GdkPixbuf"', 'DGDK_PIXBUF_COMPILATION', '_FILE_OFFSET_BITS=64',
|
obj.defines = [ 'HAVE_CONFIG_H', '_LARGEFILE64_SOURCE', '_REENTRANT', 'G_LOG_DOMAIN="GdkPixbuf"', 'DGDK_PIXBUF_COMPILATION', '_FILE_OFFSET_BITS=64',
|
||||||
'GDK_PIXBUF_ENABLE_BACKEND', 'G_DISABLE_SINGLE_INCLUDES',
|
'GDK_PIXBUF_ENABLE_BACKEND', 'G_DISABLE_SINGLE_INCLUDES', '_POSIX_C_SOURCE=200809L',
|
||||||
'INCLUDE_png', 'INCLUDE_xbm', 'INCLUDE_xpm',
|
'INCLUDE_png', 'INCLUDE_xbm', 'INCLUDE_xpm',
|
||||||
'PACKAGE="' + I18N_PACKAGE + '"', 'GDK_PIXBUF_LOCALEDIR=""'
|
'PACKAGE="' + I18N_PACKAGE + '"', 'GDK_PIXBUF_LOCALEDIR=""'
|
||||||
|
|
||||||
@ -64,6 +63,3 @@ def build(bld):
|
|||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
obj.uselib += ' OSX'
|
obj.uselib += ' OSX'
|
||||||
obj.ldflags = ' -lintl'
|
obj.ldflags = ' -lintl'
|
||||||
|
|
||||||
if re.search ("bsd", sys.platform) != None:
|
|
||||||
obj.defines.append('_POSIX_C_SOURCE=200809L')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user