Print this page
lib: move compat links from targetdirs to proper makefiles
@@ -70,10 +70,17 @@
ETCDYNLIB= $(RTLD:%=$(ETCLIBDIR)/%)
ROOTDYNLIB= $(RTLD:%=$(ROOTFS_LIBDIR)/%)
ROOTDYNLIB64= $(RTLD:%=$(ROOTFS_LIBDIR64)/%)
+COMPATLINKS= /etc/lib/ld.so.1 /usr/lib/ld.so.1 /usr/lib/$(MACH64)/ld.so.1
+$(ROOT)/etc/lib/ld.so.1 := COMPATLINKTARGET= ../../lib/ld.so.1
+$(ROOT)/usr/lib/ld.so.1 := COMPATLINKTARGET= ../../lib/ld.so.1
+$(ROOT)/usr/lib/$(MACH64)/ld.so.1 := \
+ COMPATLINKTARGET= ../../../lib/$(MACH64)/ld.so.1
+
+install: $(ROOTCOMPATLINKS)
FILEMODE = 755
CPPFLAGS += -I$(SRCBASE)/lib/libc/inc \
-I$(SRCBASE)/uts/common/krtld \