From 29cb6e06f998d41b6b7cd0169047fce4b0b622c0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 5 Sep 2015 14:14:10 +0200 Subject: [PATCH] (Win32) Don't assume HAVE_STRL can be defined for Windows --- qb/config.libs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 978f6373f8..90b36d80f8 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -380,7 +380,9 @@ fi check_header PARPORT linux/parport.h check_header PARPORT linux/ppdev.h -check_lib STRL "$CLIB" strlcpy +if [ "$OS" != 'Win32' ]; then + check_lib STRL "$CLIB" strlcpy +fi check_lib STRCASESTR "$CLIB" strcasestr check_lib MMAP "$CLIB" mmap