package/libmicrohttpd: fix pthread detection
Fix autobuild failures after bumping the package to 0.9.75 in commit
8ec001b467
:
conftest.c:64:26: error: #error "_REENTRANT must be defined"
Fixes:
http://autobuild.buildroot.net/results/f76/f7668104dd64a93f0b343ce3ebbe50b12584184d/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
3093444e9c
commit
834464792e
@ -12,6 +12,10 @@ LIBMICROHTTPD_INSTALL_STAGING = YES
|
||||
LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples
|
||||
LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBMICROHTTPD_CFLAGS += -D_REENTRANT
|
||||
endif
|
||||
|
||||
LIBMICROHTTPD_CONF_ENV += CFLAGS="$(LIBMICROHTTPD_CFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
|
||||
|
Loading…
Reference in New Issue
Block a user