summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2009-10-29 11:46:22 -0700
committerKeith Packard <keithp@keithp.com>2009-10-29 14:15:02 -0700
commitd30637339963950910e5f5fb755b8465ac7dddb4 (patch)
tree09319e9020459762f92ddfb6ae574f4c5c861c13 /glx
parentec98d7fc78efefcf9fc61492529157c0d289c3f2 (diff)
Supply all code using dl*() with DLOPEN_LIBS
Previously DLOPEN_LIBS was managed in top-level configure.ac. Instead bundle it with the code using dl*() functions to avoid breakages in uncommon configurations. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/glx/Makefile.am b/glx/Makefile.am
index a23ae0a47..9d9fa3c31 100644
--- a/glx/Makefile.am
+++ b/glx/Makefile.am
@@ -58,6 +58,8 @@ if DRI2_AIGLX
libglxdri_la_SOURCES += glxdri2.c
endif
+libglxdri_la_LIBADD = $(DLOPEN_LIBS)
+
libglx_la_SOURCES = \
$(indirect_sources) \
$(glapi_sources) \
@@ -95,3 +97,5 @@ libglx_la_SOURCES = \
swap_interval.c \
unpack.h \
xfont.c
+
+libglx_la_LIBADD = $(DLOPEN_LIBS)