From 14ff4f94fb8d92b65bbd084b19e3f27f947d6bd2 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 12 Jun 2016 09:32:51 -0400 Subject: [PATCH] build: re-create tests/ostree-symlink-stamp if Makefile changes The filename of the real ostree executable could be either .libs/ostree or .libs/lt-ostree. Signed-off-by: Simon McVittie Closes: #337 Approved by: cgwalters --- Makefile-tests.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile-tests.am b/Makefile-tests.am index 88618c46..e5cf9554 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -244,7 +244,7 @@ tests/libreaddir-rand.so: Makefile ALL_LOCAL_RULES += tests/libreaddir-rand.so CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp tests/ostree -tests/ostree-symlink-stamp: +tests/ostree-symlink-stamp: Makefile @real_bin=`cd $(top_builddir) && libtool --mode=execute echo ostree`; \ ln -sf "$${real_bin}" tests/ostree; \ touch $@