]> sigrok.org Git - libsigrokdecode.git/commitdiff
runtc: Make sure to compile against this library
authorBert Vermeulen <redacted>
Sun, 15 Dec 2013 14:55:35 +0000 (15:55 +0100)
committerBert Vermeulen <redacted>
Sun, 15 Dec 2013 14:55:35 +0000 (15:55 +0100)
It might compile against a previously-installed one unless the linker
finds it in the top directory first.

tests/Makefile.am

index cce7e63c41cebce98ece6db95d5fe38b377a11d4..595a65d4b2e65123844d36fe500a1af92e7f0f65 100644 (file)
@@ -39,5 +39,5 @@ bin_PROGRAMS = runtc
 runtc_SOURCES = runtc.c
 runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \
        -DDECODERS_DIR='"$(abs_top_builddir)/decoders"'
-runtc_LDFLAGS = $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -L$(top_builddir) -lsigrokdecode
+runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode
 endif