X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Funit%2FMakefile.am;h=2c89ca6d11c33a263081f7ed803c59eeb04bcbb5;hp=1fa8b71f047fefd2417681efdac45882d88ec46d;hb=58a052effb2305655ff1b7233c78ab24fc25257e;hpb=de41725c0ff3a20209ffe030cbbb5bc93c9ebef3 diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 1fa8b71..2c89ca6 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -1,4 +1,6 @@ +if !TARGET_IS_ANDROID AM_LDFLAGS=-lpthread +endif AM_CFLAGS=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/tests/common -g noinst_PROGRAMS = test_uatomic \