termux-packages/packages/serf/sconstruct.patch

21 lines
705 B
Diff
Raw Normal View History

2016-09-26 16:48:48 +02:00
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 @@
2015-06-13 01:03:31 +02:00
env = Environment(variables=opts,
tools=('default', 'textfile',),
CPPPATH=['.', ],
+ PLATFORM='posix'
)
env.Append(BUILDERS = {
2016-09-26 16:48:48 +02:00
@@ -216,7 +217,7 @@
2015-06-13 01:03:31 +02:00
# from current_version, so don't use the PATCH level to avoid that build and
# runtime patch levels have to be identical.
2016-09-26 16:48:48 +02:00
if sys.platform != 'sunos5':
- env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
+ env['SHLIBSUFFIX'] = '.so'
2015-06-13 01:03:31 +02:00
LIBNAME = 'libserf-%d' % (MAJOR,)
if sys.platform != 'win32':