xfsprogs: fix compilation under glibc

Missing link to librt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-12-30 16:51:39 -08:00
parent c305383cab
commit 4d4d9a2c32
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xfsprogs
PKG_VERSION:=5.9.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/xfs/xfsprogs
@ -68,6 +68,7 @@ CONFIGURE_ARGS += \
--disable-libicu
TARGET_CFLAGS += -DHAVE_MAP_SYNC
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt)
define Package/xfs-admin/install
$(INSTALL_DIR) $(1)/sbin