summaryrefslogtreecommitdiff
path: root/libc/debian/patches/sgs-install-libconv.patch
blob: 700397f90f0f0f1bc590d9713fd1fddf7e44841e (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
27
28
29
30
31
32
Description: install static convenient library,
 so the compiler will find proper version.
 This is needed to compile single (native) version of ldd
Index: b/usr/src/cmd/sgs/libconv/amd64/Makefile
===================================================================
--- a/usr/src/cmd/sgs/libconv/amd64/Makefile
+++ b/usr/src/cmd/sgs/libconv/amd64/Makefile
@@ -31,7 +31,9 @@ include 	../Makefile.com
 .PARALLEL:	$(PICS)
 .KEEP_STATE:
 
-install all:	$(LIBRARY) .WAIT
+all:	$(LIBRARY) .WAIT
+install: $(LIBRARY)
+	 cp $< $(ROOTLIBDIR64)/$<
 
 include 	../Makefile.targ
 include		../../Makefile.sub.64
Index: b/usr/src/cmd/sgs/libconv/i386/Makefile
===================================================================
--- a/usr/src/cmd/sgs/libconv/i386/Makefile
+++ b/usr/src/cmd/sgs/libconv/i386/Makefile
@@ -31,6 +31,8 @@ include 	../Makefile.com
 .PARALLEL:	$(PICS)
 .KEEP_STATE:
 
-install all:	$(LIBRARY) .WAIT
+all:	$(LIBRARY) .WAIT
+install:	$(LIBRARY)
+	cp $< $(ROOTLIBDIR)/$<
 
 include 	../Makefile.targ