vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 519e67d3b337581257f6eef7702513edad85bd34
parent e2953cdd12de65ede41aaeb54e8e8a01bf6a6814
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Fri,  6 Nov 2015 11:32:18 +0100

build: explicitly link againgst dl

For musl this is a nop, it contains the relevant code in libc
and provides and empty libdl archive for compatibility.

However certain glibc based system need it.

Diffstat:
Mconfig.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -34,7 +34,7 @@ LDFLAGS_LUA = $(shell pkg-config --libs lua5.1 2> /dev/null || echo "-llua") LDFLAGS_TERMKEY = $(shell pkg-config --libs termkey 2> /dev/null || echo "-ltermkey") LDFLAGS_CURSES = $(shell pkg-config --libs ncursesw 2> /dev/null || echo "-lncursesw") -LIBS = -lm -lc +LIBS = -lm -ldl -lc OS = $(shell uname) ifeq (${OS},Linux)