Print this page
lib: move compat links from targetdirs to proper makefiles
@@ -52,10 +52,19 @@
include ../../Makefile.com
# install this library in the root filesystem
include ../../../Makefile.rootfs
+DYNLIB1 = nss_nis.so$(VERS)
+
+COMPATLINKS= /usr/lib/$(DYNLIB1)
+COMPATLINKS64= /usr/lib/$(MACH64)/$(DYNLIB1)
+
+$(ROOT)/usr/lib/$(DYNLIB1) := COMPATLINKTARGET=../../lib/$(DYNLIB1)
+$(ROOT)/usr/lib/$(MACH64)/$(DYNLIB1):= \
+ COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB1)
+
LINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2
LINTFLAGS64 += -erroff=E_GLOBAL_COULD_BE_STATIC2
LDLIBS += -lnsl
-DYNLIB1 = nss_nis.so$(VERS)
+