serf: rebuild and adjust shared lib name

With newer scons we otherwise get "liblib" prefixes.
It's not clear if that is a msys specific scons issue, or if
this has changed in scons.

It looks like trunk serf has updated all this code, so maybe it
is fixed there, we'll see.
This commit is contained in:
Christoph Reiter 2025-04-25 15:46:07 +02:00
parent 98adfd8703
commit 57f40bfb5d
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ diff -durN serf-1.3.9.orig/SConstruct serf-1.3.9/SConstruct
+# env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
-LIBNAME = 'libserf-%d' % (MAJOR,)
+LIBNAME = 'libserf-%d-0' % (MAJOR,)
+LIBNAME = 'serf-%d-0' % (MAJOR,)
if sys.platform != 'win32':
LIBNAMESTATIC = LIBNAME
else:

View File

@ -3,7 +3,7 @@
pkgbase=serf
pkgname=("lib${pkgbase}" "lib${pkgbase}-devel")
pkgver=1.3.10
pkgrel=1
pkgrel=2
pkgdesc="High-performance asynchronous HTTP client library"
arch=('i686' 'x86_64')
url="https://serf.apache.org/"
@ -20,7 +20,7 @@ source=(https://archive.apache.org/dist/serf/${pkgbase}-${pkgver}.tar.bz2
07-sspi-auth.patch)
sha256sums=('be81ef08baa2516ecda76a77adf7def7bc3227eeb578b9a33b45f7b41dc064e6'
'87767cd9b5e568a10f234df46f413a408613965e9d1b8cde1c0145f7eb20f0f1'
'1efab80c71b6987ed504d307c39a623aef849bc7cc39c6aeac3d9338f7459be8'
'8057f20b42f5ca49c886aecc33b0686f3505f0d75918a8ec552424c10fd69e35'
'313b272609729d80dedf608f9f1939526e687fdf4a1b50e1a66505c93c2ee56f'
'84a43b3b6d3024195fdc69d215898ac426286329025bfa239ebe27a5c7507bc0')