Add -pthread to AM_CFLAGS to do the right thing when using threads

https://bugs.freedesktop.org/show_bug.cgi?id=71633
This commit is contained in:
Kristian Høgsberg 2013-11-23 12:24:26 -08:00
parent 360dca517a
commit 5a019e38a1

View file

@ -36,7 +36,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = wayland-client.pc wayland-server.pc
AM_CPPFLAGS = $(FFI_CFLAGS)
AM_CFLAGS = $(GCC_CFLAGS)
AM_CFLAGS = $(GCC_CFLAGS) -pthread
protocoldir = $(top_srcdir)/protocol