X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=581c00d186e757c905dd105eb5c2a1491cc0314d;hp=e09778febcda0d37710fd978bdaaa0abda51603e;hb=58a052effb2305655ff1b7233c78ab24fc25257e;hpb=de41725c0ff3a20209ffe030cbbb5bc93c9ebef3 diff --git a/Makefile.am b/Makefile.am index e09778f..581c00d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,10 @@ INCLUDES = -I$(top_builddir)/urcu #Add the -version-info directly here since we are only building # library that use the version-info -AM_LDFLAGS=-lpthread -version-info $(URCU_LIBRARY_VERSION) +AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION) +if !TARGET_IS_ANDROID +AM_LDFLAGS+=-lpthread +endif AM_CFLAGS=-Wall SUBDIRS = . doc tests