summaryrefslogtreecommitdiff
path: root/libc/debian/patches/sgs-libdl-filter.patch
blob: 2febaab5bc6e2a5cfb8bf380e3f1db66fb985f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: b/usr/src/cmd/sgs/libdl/amd64/Makefile
===================================================================
--- a/usr/src/cmd/sgs/libdl/amd64/Makefile
+++ b/usr/src/cmd/sgs/libdl/amd64/Makefile
@@ -27,7 +27,7 @@ include		$(SRC)/lib/Makefile.filter.com
 include		../Makefile.com
 include		$(SRC)/lib/Makefile.lib.64
 
-DYNFLAGS +=	-F /usr/lib/$(MACH64)/ld.so.1
+DYNFLAGS +=	-F $(DEB_LIBDIR_64)/ld.so.1
 
 install:	all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64)
 
Index: b/usr/src/cmd/sgs/libdl/i386/Makefile
===================================================================
--- a/usr/src/cmd/sgs/libdl/i386/Makefile
+++ b/usr/src/cmd/sgs/libdl/i386/Makefile
@@ -26,7 +26,7 @@
 include		$(SRC)/lib/Makefile.filter.com
 include		../Makefile.com
 
-DYNFLAGS +=	-F /usr/lib/ld.so.1
+DYNFLAGS +=	-F $(DEB_LIBDIR_32)/ld.so.1
 
 install:	all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)