13
0
This commit is contained in:
Robin Gareus 2024-04-04 17:30:36 +02:00
parent 3b0e421de4
commit 2e991b0067
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1,7 +1,6 @@
#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
import sys
import re
# Version of this package (even if built as a child)
MAJOR = '2'
@ -53,7 +52,7 @@ def build(bld):
obj.use = ''
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',
'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',
'PACKAGE="' + I18N_PACKAGE + '"', 'GDK_PIXBUF_LOCALEDIR=""'
@ -64,6 +63,3 @@ def build(bld):
if sys.platform == 'darwin':
obj.uselib += ' OSX'
obj.ldflags = ' -lintl'
if re.search ("bsd", sys.platform) != None:
obj.defines.append('_POSIX_C_SOURCE=200809L')