Android: do not link pthread on Android
[urcu.git] / Makefile.am
index e09778febcda0d37710fd978bdaaa0abda51603e..581c00d186e757c905dd105eb5c2a1491cc0314d 100644 (file)
@@ -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
This page took 0.022368 seconds and 4 git commands to generate.