mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 08:07:36 +00:00
vsftpd: Fix build with musl/x86
F_SETLKW64 and F_SETLK64 are defined in include/asm-generic/fcntl.h on musl target but just including this header does not work since both include/asm-generic/fcntl.h and include/fcntl.h define same structures resulting in conflicting declaration of structs. Having local definitions of these values seems reasonable here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
4a0e53cb22
commit
7b427e1187
@ -47,7 +47,7 @@ inherit update-rc.d useradd systemd
|
|||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf"
|
CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf"
|
||||||
LDFLAGS_append =" -lcrypt -lcap"
|
LDFLAGS_append =" -lcrypt -lcap"
|
||||||
|
CFLAGS_append_libc-musl = " -D_GNU_SOURCE -include fcntl.h"
|
||||||
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user