lockdev: Pretend GNU libc on musl

it has all needed features but expects " -D__GNU_LIBRARY__"
so make it happy when using musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit b70dd8f2af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj
2016-11-06 23:40:55 -08:00
committed by Armin Kuster
parent 02bca9e5f4
commit d2a990bc72
@@ -18,3 +18,5 @@ do_configure_prepend () {
# Make automake happy
touch ChangeLog
}
CFLAGS_append_libc-musl = " -D__GNU_LIBRARY__"