Print this page
lib: move compat links from targetdirs to proper makefiles

@@ -39,10 +39,17 @@
 VERS=           .1
 YACCPAR=        yaccpar
 
 include ../../../../lib/Makefile.lib
 
+COMPATLINKS=    /usr/ccs/lib/liby.so \
+                /usr/ccs/lib/$(MACH64)/liby.so
+
+$(ROOT)/usr/ccs/lib/liby.so := COMPATLINKTARGET=../../lib/liby.so.1
+$(ROOT)/usr/ccs/lib/$(MACH64)/liby.so:= \
+        COMPATLINKTARGET=../../../lib/$(MACH64)/liby.so.1
+
 SRCDIR =        ../common
 
 # Override default source file derivation rule (in Makefile.lib)
 # from objects
 #