1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/nnn/musl-fts-support.patch
Justin Berthault e44b324fe0 community/nnn: upgrade to 4.1
add `fts-dev` as `makedepends`, required on musl OS
patch added to append '-ltfs' in Makefile
2021-06-03 10:54:22 +00:00

13 lines
389 B
Diff

diff --git a/Makefile b/Makefile
index 7e2d7be..c3fd556 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ CFLAGS += -std=c11 -Wall -Wextra -Wshadow
CFLAGS += $(CFLAGS_OPTIMIZATION)
CFLAGS += $(CFLAGS_CURSES)
-LDLIBS += $(LDLIBS_CURSES) -lpthread
+LDLIBS += $(LDLIBS_CURSES) -lpthread -lfts
# static compilation needs libgpm development package
ifeq ($(strip $(O_STATIC)),1)