X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=Makefile.am;h=2f81bce9b6a4196505225b5e26606ae25e7e8772;hp=938027c0c6ec20a36f9ebdad85783cc0c3bd2293;hb=0e1efa0e8c7961fc3eca21d0268c07f44eb572e5;hpb=6bbcdc421d5614038a1dc8c5645c334372762087 diff --git a/Makefile.am b/Makefile.am index 938027c..2f81bce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ INCLUDES = -I$(top_builddir)/urcu #Add the -version-info directly here since we are only building # library that use the version-info AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION) -if !TARGET_IS_ANDROID +if !LIBC_INCLUDES_PTHREAD AM_LDFLAGS+=-lpthread endif AM_CFLAGS=-Wall