X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=bd0858ff12ab89867264890d100ca15fe0a9a277;hp=e70b3012d5c01be71d7712d01399872ca6892d10;hb=919ace16e7100fccd51fda16c6d40fc3ad9915e2;hpb=554a49f9df0ee8c57d7fae64515cf57d622b0511 diff --git a/tests/Makefile.am b/tests/Makefile.am index e70b301..bd0858f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -34,10 +34,10 @@ check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' endif -if HAVE_LIBSIGROK -bin_PROGRAMS = runtc +if BUILD_RUNTC +noinst_PROGRAMS = runtc runtc_SOURCES = runtc.c runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' -runtc_LDFLAGS = $(LIBSIGROK_LIBS) -L$(top_builddir) -lsigrokdecode +runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode endif