tests: don't link against pthread explicitly
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 13 Dec 2022 10:55:33 +0000 (11:55 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 13 Dec 2022 10:57:30 +0000 (11:57 +0100)
We use GLib threads now, so there's no need to link againt pthread.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tests/Makefile.am

index c1239fe5b152ae41bc0e58d7c5664abc93a093e5..4dd52971cf9de4a161b968f9c5ebff3afd19732b 100644 (file)
@@ -8,7 +8,6 @@ AM_CFLAGS += -include $(top_builddir)/config.h
 AM_CFLAGS += -Wall -Wextra -g -std=gnu89 $(GLIB_CFLAGS) $(GOBJECT_CFLAGS)
 AM_CFLAGS += -DG_LOG_DOMAIN=\"gpiod-test\"
 AM_CFLAGS += $(PROFILING_CFLAGS)
-AM_LDFLAGS = -pthread
 LDADD = $(top_builddir)/lib/libgpiod.la
 LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la
 LDADD += $(GLIB_LIBS) $(GOBJECT_LIBS)