From 8ba92c99218ba45d0c1d908ac3fde768c1d73e45 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 25 Aug 2020 17:44:47 -0700 Subject: [PATCH] lmdb: fix compilation with glibc Signed-off-by: Rosen Penev --- libs/lmdb/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/lmdb/Makefile b/libs/lmdb/Makefile index 27c1e6728..421d9ae43 100644 --- a/libs/lmdb/Makefile +++ b/libs/lmdb/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lmdb PKG_VERSION:=0.9.24 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=LMDB_$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/LMDB/lmdb/tar.gz/LMDB_$(PKG_VERSION)? @@ -64,7 +64,7 @@ define Build/Compile $(MAKE) -C "$(PKG_BUILD_DIR)/$(MAKE_PATH)/" \ CC="$(TARGET_CC)" \ CFLAGS+="$(TARGET_CFLAGS)" \ - LDFLAGS+="$(TARGET_LDFLAGS)" \ + LDFLAGS+="$(TARGET_LDFLAGS) $(if $(CONFIG_USE_GLIBC),-lpthread)" \ FPIC="$(FPIC)" \ AR="$(TARGET_AR)" endef