lmdb: use toolchain AR for compilation
authorJan Pavlinec <jan.pavlinec@nic.cz>
Wed, 18 Dec 2019 10:57:53 +0000 (11:57 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 21 Dec 2019 20:53:13 +0000 (21:53 +0100)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 7c82793719765985f8d273d2d98308b7b2b0c78b)

libs/lmdb/Makefile

index acb77ad5bd6a3deb90dcd3342aa0e2768d328c60..27c1e672887bd1d80b7462b8e6215686e34551f8 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lmdb
 PKG_VERSION:=0.9.24
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=LMDB_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/LMDB/lmdb/tar.gz/LMDB_$(PKG_VERSION)?
@@ -65,7 +65,8 @@ define Build/Compile
                CC="$(TARGET_CC)" \
                CFLAGS+="$(TARGET_CFLAGS)" \
                LDFLAGS+="$(TARGET_LDFLAGS)" \
-               FPIC="$(FPIC)"
+               FPIC="$(FPIC)" \
+               AR="$(TARGET_AR)"
 endef
 
 define Build/InstallDev