qv4l2: unbreak musl builds.
This commit is contained in:
parent
b64d0690eb
commit
2969024f43
1 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,13 @@ license="GPL-2, LGPL-2.1"
|
|||
distfiles="http://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2"
|
||||
checksum=50c7be033636d878e902dad0a207fc9f6d831bec27f1b410f1102acddaa5565e
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" argp-standalone"
|
||||
CFLAGS="-D__off_t=off_t -D__off64_t=off_t"
|
||||
LDFLAGS="-largp"
|
||||
;;
|
||||
esac
|
||||
|
||||
do_install() {
|
||||
cd utils/qv4l2
|
||||
make DESTDIR=${DESTDIR} install
|
||||
|
|
Loading…
Reference in a new issue