[uClibc]`make install' tries to build ldso stuff on non-shared-library systems
Miles Bader
miles at lsi.nec.co.jp
Fri Jan 25 02:10:29 UTC 2002
Here's a patch to prevent it:
--- Makefile.~1.128.~ Tue Jan 15 11:44:21 2002
+++ Makefile Fri Jan 25 11:07:10 2002
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen at uclibc.org>
+# Copyright (C) 2000,2001,2002 Erik Andersen <andersen at uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -218,6 +218,7 @@ ifeq ($(strip $(HAVE_SHARED)),true)
endif
install_toolchain:
+ifeq ($(strip $(HAVE_SHARED)),true)
@$(MAKE) -C ldso utils
install -m 755 ldso/util/ldd $(PREFIX)$(DEVEL_PREFIX)/bin
install -m 755 ldso/util/readelf $(PREFIX)$(DEVEL_PREFIX)/bin
@@ -230,6 +231,7 @@ install_toolchain:
install -m 755 ldso/util/ldconfig $(PREFIX)$(DEVEL_PREFIX)/bin; \
ln -fs $(DEVEL_PREFIX)/sbin/ldconfig $(PREFIX)$(SYSTEM_DEVEL_PREFIX)/bin/$(TARGET_ARCH)-uclibc-ldconfig; \
fi;
+endif
$(MAKE) -C extra/gcc-uClibc install
Thanks,
-Miles
--
Saa, shall we dance? (from a dance-class advertisement)
More information about the uClibc
mailing list