Print this page
lib: move compat links from targetdirs to proper makefiles
*** 21,33 ****
#
#
# Copyright 1993,2001-2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- # ident "%Z%%M% %I% %E% SMI"
- #
- # lib/nsswitch/compat/Makefile.com
LIBRARY = libnss_compat.a
VERS = .1
OBJECTS = getpwent.o \
--- 21,30 ----
*** 41,47 ****
include ../../Makefile.com
# install this library in the root filesystem
include ../../../Makefile.rootfs
- LDLIBS += -lnsl
DYNLIB1 = nss_compat.so$(VERS)
--- 38,53 ----
include ../../Makefile.com
# install this library in the root filesystem
include ../../../Makefile.rootfs
DYNLIB1 = nss_compat.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)
+
+ LDLIBS += -lnsl
+