Files
MSYS2-packages/serf/05-disable-SHLIBVERSION.patch
2017-05-31 00:14:53 +08:00

18 lines
727 B
Diff

diff -durN serf-1.3.9.orig/SConstruct serf-1.3.9/SConstruct
--- serf-1.3.9.orig/SConstruct 2017-05-20 12:39:02.859375000 +0800
+++ serf-1.3.9/SConstruct 2017-05-20 12:41:00.968750000 +0800
@@ -219,10 +219,10 @@
# Unfortunately we can't set the .dylib compatibility_version option separately
# 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)
+#if sys.platform != 'sunos5':
+# env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
-LIBNAME = 'libserf-%d' % (MAJOR,)
+LIBNAME = 'libserf-%d-0' % (MAJOR,)
if sys.platform != 'win32':
LIBNAMESTATIC = LIBNAME
else: