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

*** 11,23 **** # # Copyright 2011 Nexenta Systems, Inc. All rights reserved. # - # install this library in the root filesystem - include ../../Makefile.rootfs - LIBRARY = libtermcap.a VERS = .1 LIBS += $(LINTLIB) DYNFLAGS += $(ZLOADFLTR) --- 11,31 ---- # # Copyright 2011 Nexenta Systems, Inc. All rights reserved. # LIBRARY = libtermcap.a VERS = .1 LIBS += $(LINTLIB) + # install this library in the root filesystem + include ../../Makefile.rootfs + + COMPATLINKS += /usr/ccs/lib/libtermcap.so + COMPATLINKS64 += /usr/ccs/lib/$(MACH64)/libtermcap.so + + $(ROOT)/usr/ccs/lib/libtermcap.so := \ + COMPATLINKTARGET=../../../lib/libtermcap.so.1 + $(ROOT)/usr/ccs/lib/$(MACH64)/libtermcap.so := \ + COMPATLINKTARGET=../../../../lib/$(MACH64)/libtermcap.so.1 + DYNFLAGS += $(ZLOADFLTR)