Print this page
lib: move compat links from targetdirs to proper makefiles
*** 27,31 ****
--- 27,56 ----
include $(SRC)/lib/Makefile.rootfs
LIBS += $(LINTLIB)
DYNFLAGS += -F libc.so.1
+
+ COMPATLINKS += /lib/libposix4.so.1 \
+ /lib/libposix4.so \
+ /usr/lib/libposix4.so.1 \
+ /usr/lib/libposix4.so
+
+ COMPATLINKS64 +=/lib/$(MACH64)/libposix4.so.1 \
+ /lib/$(MACH64)/libposix4.so \
+ /usr/lib/$(MACH64)/libposix4.so.1 \
+ /usr/lib/$(MACH64)/libposix4.so
+
+ $(ROOT)/lib/libposix4.so.1 := COMPATLINKTARGET=librt.so.1
+ $(ROOT)/lib/libposix4.so := COMPATLINKTARGET=libposix4.so.1
+ $(ROOT)/usr/lib/libposix4.so.1 := COMPATLINKTARGET=../../lib/librt.so.1
+ $(ROOT)/usr/lib/libposix4.so := COMPATLINKTARGET=../../lib/librt.so.1
+ $(ROOT)/lib/$(MACH64)/libposix4.so.1 := COMPATLINKTARGET=librt.so.1
+ $(ROOT)/lib/$(MACH64)/libposix4.so := COMPATLINKTARGET=libposix4.so.1
+ $(ROOT)/usr/lib/$(MACH64)/libposix4.so.1:= \
+ COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
+ $(ROOT)/usr/lib/$(MACH64)/libposix4.so:= \
+ COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
+ $(ROOT)/usr/lib/$(MACH64)/librt.so.1:= \
+ COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
+ $(ROOT)/usr/lib/$(MACH64)/librt.so:= \
+ COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1