mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 04:39:06 +08:00
btop: fix compilation with musl 1.2.4 (#754)
This commit is contained in:
parent
98896f2427
commit
d82c028fe9
@ -37,6 +37,10 @@ MAKE_FLAGS+= \
|
||||
OPTFLAGS="$(TARGET_CXXFLAGS)" \
|
||||
LDCXXFLAGS="$(TARGET_LDFLAGS) -pthread"
|
||||
|
||||
ifneq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
define Package/btop/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/btop $(1)/usr/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user