aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-06 11:32:18 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-08 13:37:24 +0100
commit3739f7586f2560e89ca133d82763ff37c2b84137 (patch)
tree4bce0636f8ff59583713cf8d7c4030f988363d6e /config.mk
parent05c5436ed6d584a2f2faef463ad6d71f443e3d77 (diff)
downloadvis-3739f7586f2560e89ca133d82763ff37c2b84137.tar.gz
vis-3739f7586f2560e89ca133d82763ff37c2b84137.tar.xz
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 (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
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)