build: link with -ldl
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 8 Jan 2013 16:54:53 +0000 (17:54 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 8 Jan 2013 16:54:53 +0000 (17:54 +0100)
We use dlopen() and friends so link with libdl.so to be sure that they are
available.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile.am

index abc8e57..7255391 100644 (file)
@@ -493,7 +493,8 @@ kmscon_LDADD = \
        $(XKBCOMMON_LIBS) \
        libeloop.la \
        libuterm.la \
-       -lpthread
+       -lpthread \
+       -ldl
 kmscon_LDFLAGS = \
        -rdynamic