diff options
Diffstat (limited to 'usr/src/lib/nsswitch/dns/Makefile.com')
-rw-r--r-- | usr/src/lib/nsswitch/dns/Makefile.com | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr/src/lib/nsswitch/dns/Makefile.com b/usr/src/lib/nsswitch/dns/Makefile.com index 0366633c0c..bc66038274 100644 --- a/usr/src/lib/nsswitch/dns/Makefile.com +++ b/usr/src/lib/nsswitch/dns/Makefile.com @@ -38,11 +38,19 @@ include ../../Makefile.com # install this library in the root filesystem include ../../../Makefile.rootfs +DYNLIB1 = nss_dns.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) + # Appropriate libresolv loaded at runtime. This is the default, to be dlopened # if no libresolv was provided by the application. CPPFLAGS += -DNSS_DNS_LIBRESOLV=\"libresolv.so.2\" -LINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2 LDLIBS += -lnsl -lresolv_joy -lsocket DYNLIB1 = nss_dns.so$(VERS) |