Root/svgalib/patches/090-soname.patch

1Index: svgalib-1.4.3/gl/Makefile
2===================================================================
3--- svgalib-1.4.3.orig/gl/Makefile 2011-01-06 13:48:39.000000000 +0100
4+++ svgalib-1.4.3/gl/Makefile 2011-01-06 13:49:05.000000000 +0100
5@@ -29,7 +29,7 @@
6 .PHONY: all clean dep
7 
8 libvgagl.so.$(VERSION): $(MODULES)
9- $(CC) -s -shared -Wl,-soname,libvgagl.so.$(MAJOR_VER) -o libvgagl.so.$(VERSION) \
10+ $(CC) -s -shared -Wl,-soname,libvgagl.so -o libvgagl.so.$(VERSION) \
11       $(MODULES)
12 
13 libvgagl.a: $(MODULES)
14Index: svgalib-1.4.3/src/Makefile
15===================================================================
16--- svgalib-1.4.3.orig/src/Makefile 2011-01-06 13:48:36.000000000 +0100
17+++ svgalib-1.4.3/src/Makefile 2011-01-06 13:48:52.000000000 +0100
18@@ -387,7 +387,7 @@
19 
20 # These rules are for ELF only.
21 libvga.so.$(VERSION): $(ALLOBJS)
22- $(CC) -s -shared -Wl,-soname,libvga.so.$(MAJOR_VER) \
23+ $(CC) -s -shared -Wl,-soname,libvga.so \
24       -o libvga.so.$(VERSION) $(ALLOBJS) -lm
25 
26 $(sharedlibdir)/libvga.so.$(VERSION): libvga.so.$(VERSION)
27

Archive Download this file



interactive