diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-10 08:43:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-10 08:43:35 +0000 |
commit | 4b3d5bdc2b54b36f973b16478c3aaa1dc235b9e4 (patch) | |
tree | 4f256ae7cb7854889c48f2d48ce789ea453cebf3 /Makefile | |
parent | 96277cfcea64ba6965b20fd78529f2f6fa59e32a (diff) |
Don't blow away existing files when trying to install a ldso symlink...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -205,7 +205,7 @@ ifeq ($(strip $(HAVE_SHARED)),true) ln -fs $(DEVEL_PREFIX)/bin/readelf $(PREFIX)$(SYSTEM_DEVEL_PREFIX)/usr/bin/$(TARGET_ARCH)-uclibc-readelf if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so ] ; then \ install -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so $(PREFIX)$(DEVEL_PREFIX)/lib; \ - ln -fs $(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) \ + ln -s $(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) \ $(PREFIX)$(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so || true; \ fi; if [ -x ldso/util/ldconfig ] ; then \ @@ -234,7 +234,7 @@ ifeq ($(strip $(HAVE_SHARED)),true) install -m 755 ldso/util/readelf $(PREFIX)/usr/bin if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so ] ; then \ install -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so $(PREFIX)/lib; \ - ln -fs $(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) \ + ln -s $(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) \ $(PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so || true; \ fi; if [ -x ldso/util/ldconfig ] ; then \ |