diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-13 22:20:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-13 22:20:28 +0000 |
commit | 3c735763c230948708f6ab465aed53328f9308fd (patch) | |
tree | 840d37957fbc5dd7fd5b0b77c10c93302dd6de82 /Makefile | |
parent | c784f7652f07e0488d373ad0b1bfd26cf95a8178 (diff) |
A few more (final?) cleanups for the installer behavior. I now think
things are working perfectly (perhaps I shouln't think so much)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -204,8 +204,9 @@ ifeq ($(strip $(HAVE_SHARED)),true) ln -fs $(DEVEL_PREFIX)/bin/readelf $(PREFIX)$(SYSTEM_DEVEL_PREFIX)/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 -s $(PREFIX)$(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so \ - $(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \ + mkdir -p $(PREFIX)$(SHARED_LIB_LOADER_PATH); \ + ln -s $(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so \ + $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \ fi; if [ -x ldso/util/ldconfig ] ; then \ install -d $(PREFIX)$(DEVEL_PREFIX)/etc; \ @@ -233,8 +234,9 @@ 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 -s $(PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so \ - $(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \ + mkdir -p $(PREFIX)$(SHARED_LIB_LOADER_PATH); \ + ln -s $(TARGET_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so \ + $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) || true; \ fi; if [ -x ldso/util/ldconfig ] ; then \ install -d $(PREFIX)/etc; \ |