X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=Makefile.am;h=4a07010674c77ed8d9f6730256a9066314577a8a;hp=938027c0c6ec20a36f9ebdad85783cc0c3bd2293;hb=7d8246f8a268ecabea63d1004002cc3d366e3108;hpb=e1c0b55cbcc602bdff8b9778d911c35515f48cc3 diff --git a/Makefile.am b/Makefile.am index 938027c..4a07010 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,11 @@ ACLOCAL_AMFLAGS=-I config -INCLUDES = -I$(top_builddir)/urcu +AM_CPPFLAGS = -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