diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-12-02 18:44:03 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-12-02 18:44:03 +0000 |
commit | a2f661dc3db3ee13acab8430b0a4d7adb000363f (patch) | |
tree | 6618b1b5de69c2361224393fec67ae48e1e1caee | |
parent | bc24202bdcf91ef1dd9071b5ff4af4cb49638dd3 (diff) |
Don't leak outside of the target area when installing things.
-Erik
-rw-r--r-- | Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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: |