summaryrefslogtreecommitdiffstats
path: root/main/mesa-demos/link.patch
blob: f19b6bbc95221769b2422f66fc2cbb9b9aea0177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./src/egl/opengl/Makefile.in.orig
+++ ./src/egl/opengl/Makefile.in
@@ -111,10 +111,10 @@
 peglgears_LDADD = $(LDADD)
 xeglgears_SOURCES = xeglgears.c
 xeglgears_OBJECTS = xeglgears.$(OBJEXT)
-xeglgears_LDADD = $(LDADD)
+xeglgears_LDADD = $(LDADD) $(X11_LIBS)
 xeglthreads_SOURCES = xeglthreads.c
 xeglthreads_OBJECTS = xeglthreads.$(OBJEXT)
-xeglthreads_LDADD = $(LDADD)
+xeglthreads_LDADD = $(LDADD) $(X11_LIBS) -lpthread
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles