[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] tests: fix helldl rule generation in _LT_DEMO_SETUP macro
From: |
Nikolai Merinov |
Subject: |
[PATCH 2/2] tests: fix helldl rule generation in _LT_DEMO_SETUP macro |
Date: |
Fri, 15 Mar 2019 03:46:07 +0500 |
* tests/demo.at (_LT_DEMO_SETUP): $@ expanded to empty string during
_LT_DEMO_SETUP expanding. Avoid $@ usage inside m4_define call.
---
tests/demo.at | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/tests/demo.at b/tests/demo.at
index 4eb156cf..a10520b0 100644
--- a/tests/demo.at
+++ b/tests/demo.at
@@ -121,11 +121,16 @@ else
# Create a script that says that -dlopen is not supported.
bin_SCRIPTS = helldl
-helldl helldl$(EXEEXT):
- rm -rf $@
- echo '#! /bin/sh' > $@
- echo 'echo sorry, -dlopen is unsupported' >> $@
- chmod +x $@
+helldl:
+ rm -rf helldl
+ echo '#! /bin/sh' > helldl
+ echo 'echo sorry, -dlopen is unsupported' >> helldl
+ chmod +x helldl
+helldl$(EXEEXT):
+ rm -rf helldl$(EXEEXT)
+ echo '#! /bin/sh' > helldl$(EXEEXT)
+ echo 'echo sorry, -dlopen is unsupported' >> helldl$(EXEEXT)
+ chmod +x helldl$(EXEEXT)
endif
--
2.21.0