summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/libdl
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/cmd/sgs/libdl
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/cmd/sgs/libdl')
-rw-r--r--usr/src/cmd/sgs/libdl/Makefile.com3
-rw-r--r--usr/src/cmd/sgs/libdl/amd64/Makefile3
-rw-r--r--usr/src/cmd/sgs/libdl/i386/Makefile2
-rw-r--r--usr/src/cmd/sgs/libdl/sparc/Makefile2
-rw-r--r--usr/src/cmd/sgs/libdl/sparcv9/Makefile3
5 files changed, 9 insertions, 4 deletions
diff --git a/usr/src/cmd/sgs/libdl/Makefile.com b/usr/src/cmd/sgs/libdl/Makefile.com
index edc149f8ec..507cb277c0 100644
--- a/usr/src/cmd/sgs/libdl/Makefile.com
+++ b/usr/src/cmd/sgs/libdl/Makefile.com
@@ -27,3 +27,6 @@ LIBRARY = libdl.a
VERS = .1
include $(SRC)/lib/Makefile.rootfs
+
+COMPATLINKS += etc/lib/libdl.so.1
+$(ROOT)/etc/lib/libdl.so.1 := COMPATLINKTARGET=../../lib/libdl.so.1
diff --git a/usr/src/cmd/sgs/libdl/amd64/Makefile b/usr/src/cmd/sgs/libdl/amd64/Makefile
index 90e6d5bf3a..7aa63ffa3c 100644
--- a/usr/src/cmd/sgs/libdl/amd64/Makefile
+++ b/usr/src/cmd/sgs/libdl/amd64/Makefile
@@ -29,6 +29,7 @@ include $(SRC)/lib/Makefile.lib.64
DYNFLAGS += -F /usr/lib/$(MACH64)/ld.so.1
-install: all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64) \
+ $(ROOTCOMPATLINKS64)
include $(SRC)/lib/Makefile.filter.targ
diff --git a/usr/src/cmd/sgs/libdl/i386/Makefile b/usr/src/cmd/sgs/libdl/i386/Makefile
index ea152db4b2..3ca48e64ff 100644
--- a/usr/src/cmd/sgs/libdl/i386/Makefile
+++ b/usr/src/cmd/sgs/libdl/i386/Makefile
@@ -30,6 +30,6 @@ include ../Makefile.com
DYNFLAGS += -F /usr/lib/ld.so.1
-install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS)
+install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
include $(SRC)/lib/Makefile.filter.targ
diff --git a/usr/src/cmd/sgs/libdl/sparc/Makefile b/usr/src/cmd/sgs/libdl/sparc/Makefile
index ea152db4b2..3ca48e64ff 100644
--- a/usr/src/cmd/sgs/libdl/sparc/Makefile
+++ b/usr/src/cmd/sgs/libdl/sparc/Makefile
@@ -30,6 +30,6 @@ include ../Makefile.com
DYNFLAGS += -F /usr/lib/ld.so.1
-install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS)
+install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
include $(SRC)/lib/Makefile.filter.targ
diff --git a/usr/src/cmd/sgs/libdl/sparcv9/Makefile b/usr/src/cmd/sgs/libdl/sparcv9/Makefile
index 90e6d5bf3a..7aa63ffa3c 100644
--- a/usr/src/cmd/sgs/libdl/sparcv9/Makefile
+++ b/usr/src/cmd/sgs/libdl/sparcv9/Makefile
@@ -29,6 +29,7 @@ include $(SRC)/lib/Makefile.lib.64
DYNFLAGS += -F /usr/lib/$(MACH64)/ld.so.1
-install: all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64) \
+ $(ROOTCOMPATLINKS64)
include $(SRC)/lib/Makefile.filter.targ