summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2012-12-07 12:20:57 +0100
committerMichel Dänzer <michel@daenzer.net>2012-12-07 16:10:02 +0100
commitff574d653b0731a324fd30324b0f211502219abf (patch)
tree993e0fc2434ae5fbee551995f8f2525a96bb8cad /src/gallium/targets/egl-static
parente7bbd9c243c26c1e9da2c86d332e4f91474abac5 (diff)
downloadexternal_mesa3d-ff574d653b0731a324fd30324b0f211502219abf.zip
external_mesa3d-ff574d653b0731a324fd30324b0f211502219abf.tar.gz
external_mesa3d-ff574d653b0731a324fd30324b0f211502219abf.tar.bz2
gallium/egl-static: Fix unresolved symbol 'clock_gettime'.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/egl-static/Makefile b/src/gallium/targets/egl-static/Makefile
index 08626a9..0f41a21 100644
--- a/src/gallium/targets/egl-static/Makefile
+++ b/src/gallium/targets/egl-static/Makefile
@@ -73,7 +73,7 @@ egl_CPPFLAGS += -I$(TOP)/src/mesa $(API_DEFINES)
# make st/mesa built-in when there is a single glapi provider
ifeq ($(SHARED_GLAPI),1)
egl_LIBS += $(TOP)/src/mesa/libmesagallium.a
-egl_SYS += -lm -lpthread $(DLOPEN_LIBS) -l$(GLAPI_LIB)
+egl_SYS += -lm -lpthread $(CLOCK_LIB) $(DLOPEN_LIBS) -l$(GLAPI_LIB)
else
egl_CPPFLAGS += -D_EGL_EXTERNAL_GL=1
OUTPUTS += st_GL
@@ -170,7 +170,7 @@ egl_SYS := $(sort $(egl_SYS))
# st_GL, built only when shared glapi is not enabled
st_GL_CPPFLAGS := -I $(TOP)/src/mesa -I$(TOP)/src/gallium/include
st_GL_LIBS := $(TOP)/src/mesa/libmesagallium.a $(GALLIUM_AUXILIARIES)
-st_GL_SYS := -lm -lpthread $(DLOPEN_LIBS)
+st_GL_SYS := -lm -lpthread $(CLOCK_LIB) $(DLOPEN_LIBS)
# LLVM
ifeq ($(MESA_LLVM),1)