summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2016-05-23 10:43:34 -0700
committerJordan Justen <jordan.l.justen@intel.com>2016-05-23 10:43:34 -0700
commitafc3fb66b473140f6ab8d85a2aee712272e8d490 (patch)
treef08480d0663dbcbf562a8ea40733845c4b4edf86
parent8f9bc768b7e667d66309c849028dd4a3100cabf0 (diff)
pthread hackue4
-rw-r--r--src/gbm/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index aba8d1ec35..0fb6f2c98b 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -11,7 +11,8 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/gbm/main \
$(DLOPEN_CFLAGS) \
$(DEFINES) \
- $(VISIBILITY_CFLAGS)
+ $(VISIBILITY_CFLAGS) \
+ $(PTHREAD_CFLAGS)
lib_LTLIBRARIES = libgbm.la
include_HEADERS = main/gbm.h
@@ -27,7 +28,8 @@ libgbm_la_LDFLAGS = \
libgbm_la_LIBADD = \
$(top_builddir)/src/loader/libloader.la \
- $(DLOPEN_LIBS)
+ $(DLOPEN_LIBS) \
+ $(PTHREAD_LIBS)
if HAVE_PLATFORM_WAYLAND
AM_CPPFLAGS = -DHAVE_WAYLAND_PLATFORM