summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Austad <haustad@cisco.com>2015-09-21 17:27:27 +0200
committerJohn Kacur <jkacur@redhat.com>2015-09-21 21:55:33 +0200
commit2f83181e4b987eeac5e9c0f5a381a28dcf17ce8b (patch)
tree4f5f178cfd49e5b33aaa81ddf421b8995cce3d30
parent6750957ad473bdcdde4e59d1d0851acf8019a90f (diff)
downloadrt-tests-2f83181e4b987eeac5e9c0f5a381a28dcf17ce8b.tar.gz
Makefile: add librttest to rt-migrate-test
linker must be able to resolve reference to err_msg_n properly rt-migrate-test.c:(.text+0x1ff): undefined reference to `err_msg_n' Signed-off-by: Henrik Austad <haustad@cisco.com> Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fcf20ce..66de743 100644
--- a/Makefile
+++ b/Makefile
@@ -87,8 +87,8 @@ hwlatdetect: src/hwlatdetect/hwlatdetect.py
chmod +x src/hwlatdetect/hwlatdetect.py
ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
-rt-migrate-test: rt-migrate-test.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
+rt-migrate-test: rt-migrate-test.o librttest.a
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB)
ptsematest: ptsematest.o librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(EXTRA_LIBS)