idevicerestore: update to 2020-02-17
authorRosen Penev <rosenp@gmail.com>
Fri, 28 Feb 2020 00:50:47 +0000 (16:50 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 28 Feb 2020 00:59:53 +0000 (16:59 -0800)
Fix compilation under glibc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/idevicerestore/Makefile

index 22572dcd8134077c112364880d8ae8a633fff8d6..211635f585c5a06f03cb92de8ac00594c41acdf1 100644 (file)
@@ -6,13 +6,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=idevicerestore
-PKG_SOURCE_DATE:=2019-12-26
-PKG_SOURCE_VERSION:=8207daaa2ac3cb3a5107aae6aefee8ecbe39b6d4
+PKG_SOURCE_DATE:=2020-02-17
+PKG_SOURCE_VERSION:=513950377df9cb93747ac69dae4ab55dded3ac5c
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=https://github.com/libimobiledevice/idevicerestore
-PKG_MIRROR_HASH:=2b035df6a2c831300fee253e7b2ee6ceb5668a717d6f256e7335950b1b9fcfc0
+PKG_MIRROR_HASH:=3b2c25cb47d79c02b225b83d8732ea1ab5b20f0e15f7d716cb4a26e99be4f53e
 
 PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
 PKG_LICENSE:=GPL-2.0-or-later
@@ -39,6 +39,8 @@ define Package/idevicerestore/description
   during restore of a firmware to a device.
 endef
 
+TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread)
+
 define Package/idevicerestore/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/idevicerestore $(1)/usr/bin/