summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-02 18:44:03 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-02 18:44:03 +0000
commita2f661dc3db3ee13acab8430b0a4d7adb000363f (patch)
tree6618b1b5de69c2361224393fec67ae48e1e1caee
parentbc24202bdcf91ef1dd9071b5ff4af4cb49638dd3 (diff)
Don't leak outside of the target area when installing things.
-Erik
-rw-r--r--Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 66fd42e3f..7c8acadb8 100644
--- a/Makefile
+++ b/Makefile
@@ -197,10 +197,12 @@ ifeq ($(strip $(HAVE_SHARED)),y)
set -x -e; \
install -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(DEVEL_PREFIX)/lib; \
- install -d $(PREFIX)$(SHARED_LIB_LOADER_PATH); \
- ln -sf $(PREFIX)$(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
- $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \
fi;
+ #@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
+ # install -d $(PREFIX)$(SHARED_LIB_LOADER_PATH); \
+ # ln -sf $(PREFIX)$(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
+ # $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO); \
+ #fi;
endif
install_toolchain:
@@ -255,10 +257,12 @@ ifeq ($(strip $(HAVE_SHARED)),y)
set -x -e; \
install -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(TARGET_PREFIX)/lib; \
- install -d $(PREFIX)$(SHARED_LIB_LOADER_PATH); \
- ln -sf $(PREFIX)$(TARGET_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
- $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \
fi;
+ #@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
+ # install -d $(PREFIX)$(SHARED_LIB_LOADER_PATH); \
+ # ln -sf $(PREFIX)$(TARGET_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
+ # $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO); \
+ #fi;
endif
install_target_utils: