[git commit prelink 1/1] extra/locale/Makefile: Consider the case of building out of sourcedir

Khem Raj raj.khem at gmail.com
Sun Jan 2 07:00:47 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=0cc3811abda8152f406d5ebca191735cb7359075
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/prelink

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 extra/locale/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/extra/locale/Makefile b/extra/locale/Makefile
index 11f362a..ff229e2 100644
--- a/extra/locale/Makefile
+++ b/extra/locale/Makefile
@@ -4,10 +4,10 @@
 #
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
-
 top_srcdir=../../
-top_builddir=../../
+top_builddir=$(if $(O),$(O),../../)/
+
 all: objs
-include $(top_builddir)Rules.mak
+include $(top_srcdir)Rules.mak
 include Makefile.in
 include $(top_srcdir)Makerules
-- 
1.7.2.2



More information about the uClibc-cvs mailing list