diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-20 16:17:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-20 16:17:33 +0000 |
commit | e2f06f4eb0b7e50ea461f3cff9b79e20c14c0544 (patch) | |
tree | 1cb80ce8474e37999256c4bc5e55c8c11876d976 | |
parent | 11e8aa30668ff696f4a4a125e17532c87b61e6e4 (diff) |
make sure UCLIBC_LDSO can be found via path
-rw-r--r-- | test/Rules.mak | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index ee080aab3..6a7612b44 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -14,7 +14,13 @@ TESTDIR=$(top_builddir)test/ include $(top_builddir)/Rules.mak -UCLIBC_LDSO ?= $(firstword $(wildcard $(top_builddir)lib/ld*)) +ifdef UCLIBC_LDSO +ifeq (,$(findstring /,$(UCLIBC_LDSO))) +UCLIBC_LDSO := $(top_builddir)lib/$(UCLIBC_LDSO) +endif +else +UCLIBC_LDSO := $(firstword $(wildcard $(top_builddir)lib/ld*)) +endif #-------------------------------------------------------- # Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc. |