libusb-win32: fix compilation with lld
lld does not support mdll. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -4,10 +4,10 @@ _realname=libusb-win32
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
|
||||
pkgver=1.2.6.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Port of libusb-0.1 under Windows (mingw-w64)'
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
|
||||
license=('GPL3')
|
||||
url='https://sourceforge.net/projects/libusb-win32/'
|
||||
source=(
|
||||
@@ -23,6 +23,8 @@ prepare() {
|
||||
cd ${srcdir}/${_realname}-src-${pkgver}
|
||||
|
||||
patch -p1 -i ../01-mingw32-ddk-headers.patch
|
||||
|
||||
sed "s/mdll/shared/g" -i Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user