diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-08-30 23:58:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 23:58:16 -0700 |
commit | f8f3e0d360422c6cbc78c41cb30d2bb0ab32da38 (patch) | |
tree | def0c199e10c0ea00a9b61f2155ed1ac7e112bd8 /libs | |
parent | ade459c3e6e8aba22975efaa90ae8851d7ae8ac4 (diff) | |
parent | 8ba92c99218ba45d0c1d908ac3fde768c1d73e45 (diff) |
Merge pull request #13216 from neheb/lmdb
lmdb: fix compilation with glibc
Diffstat (limited to 'libs')
-rw-r--r-- | libs/lmdb/Makefile | 4 |
1 files 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 |