2002-09-03 Neal H. Walfield <neal@cs.uml.edu>

* Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from
	LDFLAGS.
This commit is contained in:
Neal Walfield 2002-09-04 03:16:09 +00:00
parent 8dccf882f7
commit 836d63c0f5
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-09-03 Neal H. Walfield <neal@cs.uml.edu>
* Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from
LDFLAGS.
2002-08-09 Werner Koch <wk@gnupg.org>
* asschk.c (cmd_getenv): New.

View File

@ -53,6 +53,20 @@ clean-local:
srcdir=$(srcdir) $(TESTS_ENVIRONMENT) $(srcdir)/inittests --clean
inittests.stamp: inittests
srcdir=$(srcdir) $(TESTS_ENVIRONMENT) $(srcdir)/inittests
LD_LIBRARY_PATH=$$(seen=0; \
for i in $(LDFLAGS); \
do \
if echo "$$i" | egrep '^-L' >/dev/null 2>&1; \
then \
if test $$seen = 0; \
then \
seen=1; \
else \
echo -n ":"; \
fi; \
echo -n $${i} | sed 's/^-L//'; \
fi; \
done) \
srcdir=$(srcdir) $(TESTS_ENVIRONMENT) $(srcdir)/inittests
echo timestamp >./inittests.stamp