From 3739f7586f2560e89ca133d82763ff37c2b84137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 6 Nov 2015 11:32:18 +0100 Subject: 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. --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 58cc573..f11e8c1 100644 --- 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) -- cgit v1.2.3