termux-packages/packages/serf/sconstruct.patch

21 lines
705 B
Diff

diff -u -r ../serf-1.3.9/SConstruct ./SConstruct
--- ../serf-1.3.9/SConstruct 2015-09-17 08:46:24.000000000 -0400
+++ ./SConstruct 2016-09-26 10:32:22.315215335 -0400
@@ -155,6 +155,7 @@
env = Environment(variables=opts,
tools=('default', 'textfile',),
CPPPATH=['.', ],
+ PLATFORM='posix'
)
env.Append(BUILDERS = {
@@ -216,7 +217,7 @@
# from current_version, so don't use the PATCH level to avoid that build and
# runtime patch levels have to be identical.
if sys.platform != 'sunos5':
- env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
+ env['SHLIBSUFFIX'] = '.so'
LIBNAME = 'libserf-%d' % (MAJOR,)
if sys.platform != 'win32':