Browse Source

Merge pull request #13216 from neheb/lmdb

lmdb: fix compilation with glibc
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
f8f3e0d360
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libs/lmdb/Makefile

+ 2
- 2
libs/lmdb/Makefile View File

@ -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


Loading…
Cancel
Save