Browse Source

xfsprogs: fix compilation under glibc

Missing link to librt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
4d4d9a2c32
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/xfsprogs/Makefile

+ 2
- 1
utils/xfsprogs/Makefile View File

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


Loading…
Cancel
Save