summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-07-16 20:09:29 +0800
committerChia-I Wu <olv@lunarg.com>2010-07-16 20:19:13 +0800
commit08f4bc07e424aaeb35eb58736fdca64b1398c190 (patch)
tree4944450e7e9efa97ce751e80b7be9dc216e86dfc /src
parent39ae965783d43ecc4426d0340381c091518bdedb (diff)
st/egl: Fix build on FreeBSD.
There is no libdl on FreeBSD. Based on patch from Thinker <thinker@branda.to>, which is against 7.8. This fixes fdo bug #29093.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/targets/egl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/egl/Makefile b/src/gallium/targets/egl/Makefile
index f1259a557a..1e4bb4d94c 100644
--- a/src/gallium/targets/egl/Makefile
+++ b/src/gallium/targets/egl/Makefile
@@ -37,7 +37,7 @@ egl_CPPFLAGS := \
-I$(TOP)/src/gallium/state_trackers/egl \
-I$(TOP)/src/egl/main \
-DPIPE_PREFIX=\"$(PIPE_PREFIX)\" -DST_PREFIX=\"$(ST_PREFIX)\"
-egl_SYS := -lm -ldl -L$(TOP)/$(LIB_DIR) -lEGL
+egl_SYS := -lm $(DLOPEN_LIBS) -L$(TOP)/$(LIB_DIR) -lEGL
egl_LIBS := $(TOP)/src/gallium/state_trackers/egl/libegl.a
ifneq ($(findstring x11, $(EGL_PLATFORMS)),)