svn commit: trunk/uClibc/test
vapier at uclibc.org
vapier at uclibc.org
Wed Dec 20 16:17:34 UTC 2006
Author: vapier
Date: 2006-12-20 08:17:33 -0800 (Wed, 20 Dec 2006)
New Revision: 17015
Log:
make sure UCLIBC_LDSO can be found via path
Modified:
trunk/uClibc/test/Rules.mak
Changeset:
Modified: trunk/uClibc/test/Rules.mak
===================================================================
--- trunk/uClibc/test/Rules.mak 2006-12-20 14:41:04 UTC (rev 17014)
+++ trunk/uClibc/test/Rules.mak 2006-12-20 16:17:33 UTC (rev 17015)
@@ -14,7 +14,13 @@
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.
More information about the uClibc-cvs
mailing list