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

@@ -42,10 +42,17 @@
 
 FORMS=          nceucform ncform nrform
 
 include         ../../../../lib/Makefile.lib
 
+COMPATLINKS=    /usr/ccs/lib/libl.so \
+                /usr/ccs/lib/$(MACH64)/libl.so
+
+$(ROOT)/usr/ccs/lib/libl.so := COMPATLINKTARGET=../../lib/libl.so.1
+$(ROOT)/usr/ccs/lib/$(MACH64)/libl.so:= \
+        COMPATLINKTARGET=../../../lib/$(MACH64)/libl.so.1
+
 SRCDIR =        ../common
 
 CSTD=   $(CSTD_GNU99)
 
 CERRWARN +=     -_gcc=-Wno-unused-label