nghttp2: restore the old DLL name
it's easy enough
This commit is contained in:
10
mingw-w64-nghttp2/002-versioned-dll.patch
Normal file
10
mingw-w64-nghttp2/002-versioned-dll.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- nghttp2-1.50.0/lib/CMakeLists.txt.orig 2022-10-31 19:10:27 +0000
|
||||
+++ nghttp2-1.50.0/lib/CMakeLists.txt 2022-10-31 19:08:45 +0000
|
||||
@@ -44,6 +44,7 @@
|
||||
set_target_properties(nghttp2 PROPERTIES
|
||||
COMPILE_FLAGS "${WARNCFLAGS}"
|
||||
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
||||
+ RUNTIME_OUTPUT_NAME "nghttp2-${LT_SOVERSION}"
|
||||
C_VISIBILITY_PRESET hidden
|
||||
)
|
||||
target_include_directories(nghttp2 INTERFACE
|
||||
@@ -4,7 +4,7 @@ _realname=nghttp2
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=1.50.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Framing layer of HTTP/2 is implemented as a reusable C library (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
|
||||
@@ -18,14 +18,17 @@ makedepends=(
|
||||
)
|
||||
license=('spdx:MIT')
|
||||
source=("https://github.com/nghttp2/nghttp2/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.xz"
|
||||
"001-fix-pc-prefix.patch")
|
||||
"001-fix-pc-prefix.patch"
|
||||
"002-versioned-dll.patch")
|
||||
sha256sums=('af24007e34c18c782393a1dc3685f8fd5b50283e90a9191d25488eb50aa2c825'
|
||||
'baf901e7d565eaea1133d30b13620b02681ce96ebe56d38e1dea4394299106b6')
|
||||
'baf901e7d565eaea1133d30b13620b02681ce96ebe56d38e1dea4394299106b6'
|
||||
'69d3784778f83bfab8a55413f363a2aab2a6fcf41372b8dc6cd2739212ad1f7c')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/${_realname}-${pkgver}
|
||||
|
||||
patch -Nbp1 -i "${srcdir}/001-fix-pc-prefix.patch"
|
||||
patch -Nbp1 -i "${srcdir}/002-versioned-dll.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user