mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 08:58:44 +02:00
build: Fix usage of %.test again
We actually need the first dependency because it includes the final executable name. Rather, fix the original bug by using the variable $(EXEEXT).
This commit is contained in:
@@ -146,7 +146,7 @@ testmeta_DATA = $(test_programs:=.test)
|
||||
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
%.test: Makefile
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \
|
||||
|
Reference in New Issue
Block a user