chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / serf / sconstruct.patch
1 diff -u -r ../serf-1.3.9/SConstruct ./SConstruct
2 --- ../serf-1.3.9/SConstruct    2015-09-17 08:46:24.000000000 -0400
3 +++ ./SConstruct        2016-09-26 10:32:22.315215335 -0400
4 @@ -155,6 +155,7 @@
5  env = Environment(variables=opts,
6                    tools=('default', 'textfile',),
7                    CPPPATH=['.', ],
8 +                 PLATFORM='posix'
9                    )
10  
11  env.Append(BUILDERS = {
12 @@ -216,7 +217,7 @@
13  # from current_version, so don't use the PATCH level to avoid that build and
14  # runtime patch levels have to be identical.
15  if sys.platform != 'sunos5':
16 -  env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
17 +  env['SHLIBSUFFIX'] = '.so'
18  
19  LIBNAME = 'libserf-%d' % (MAJOR,)
20  if sys.platform != 'win32':