summaryrefslogtreecommitdiff
path: root/usr/src/lib/Makefile.mach
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2019-07-04 01:48:24 +0000
committerRichard Lowe <richlowe@richlowe.net>2020-05-04 16:57:13 -0400
commitcd61ae21816e53b94bc1673f3f1aa651fc3115e8 (patch)
tree58f0148e78b6ea4e2e3d64cc45641c9f62d4e574 /usr/src/lib/Makefile.mach
parent241c90a06e8d1708235651863df515a2d522a03a (diff)
downloadillumos-joyent-cd61ae21816e53b94bc1673f3f1aa651fc3115e8.tar.gz
12447 should install library compat symlinks from library makefiles, not Targetdirs
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/Makefile.mach')
-rw-r--r--usr/src/lib/Makefile.mach10
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/lib/Makefile.mach b/usr/src/lib/Makefile.mach
index cc200693ac..1e862d46ac 100644
--- a/usr/src/lib/Makefile.mach
+++ b/usr/src/lib/Makefile.mach
@@ -23,10 +23,8 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/Makefile.mach
#
+
# included to define targets built with machine-dependent source
#
@@ -56,4 +54,10 @@ $(MACHLIBS): FRC
$(MACHLIBS64): FRC
@cd $(@D); pwd; VERSION='$(VERSION)' $(MAKE) $(@F)
+$(ROOTCOMPATLINKS):
+ $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
+
+$(ROOTCOMPATLINKS64):
+ $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
+
FRC: