]> sigrok.org Git - libsigrokdecode.git/blobdiff - Makefile.am
libsigrokdecode: Fix make -j issue with build_runtc
[libsigrokdecode.git] / Makefile.am
index 741720f91f6033bbcd015db8c678e4f30bb70df7..df8fb86d1ae641ef220241269991ba48fd9cd3f5 100644 (file)
@@ -47,7 +47,7 @@ noinst_HEADERS = libsigrokdecode-internal.h
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libsigrokdecode.pc
 
-EXTRA_DIST = Doxyfile contrib/sigrok-logo-notext.png
+EXTRA_DIST = Doxyfile HACKING contrib/sigrok-logo-notext.png
 
 if HAVE_CHECK
 TESTS = tests/check_main
@@ -68,10 +68,11 @@ endif
 
 if BUILD_RUNTC
 noinst_PROGRAMS = tests/runtc
+tests_runtc_LDADD = $(top_builddir)/libsigrokdecode.la
 tests_runtc_SOURCES = tests/runtc.c
 tests_runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \
        -DDECODERS_DIR='"$(abs_top_builddir)/decoders"'
-tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode
+tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON)
 endif
 
 MAINTAINERCLEANFILES = ChangeLog