kmod: bump to version 24
[buildroot-gz.git] / package / gpm / 0002-Install-unversioned-solibrary.patch
blob27e97acb32b2d9d4acc9c5b4caa7c11441282cd2
1 From 06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa Mon Sep 17 00:00:00 2001
2 From: Kamil Rytarowski <n54@gmx.com>
3 Date: Sat, 4 May 2013 01:30:17 +0200
4 Subject: [PATCH] Install unversioned solibrary
6 Unversioned solibraries are shipped with -devel packages in Linux
7 distros. Generate and install it for the consistency.
9 [Upstream patch backported from the github repository,
10 https://github.com/telmich/gpm/commit/06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa]
12 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
13 ---
14 src/Makefile.in | 7 +++----
15 1 file changed, 3 insertions(+), 4 deletions(-)
17 diff --git a/src/Makefile.in b/src/Makefile.in
18 index 6b60ad3..7e9e2ef 100644
19 --- a/src/Makefile.in
20 +++ b/src/Makefile.in
21 @@ -79,7 +79,7 @@ prog/%: prog/%.o
22 # | $(SED) '\''s/\($*\)\.o\([ :]*\)/\1.o \1.lo\2/g'\'' > $(DEPDIR)/$@'
24 # Do it all!
25 -all: gpm lib/libgpm.so.@abi_lev@ @LIBGPM_A@ $(PROG)
26 +all: gpm lib/libgpm.so.@abi_lev@ lib/libgpm.so @LIBGPM_A@ $(PROG)
28 gpm: $(GOBJ)
29 $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $(GOBJ) @LIBS@ $(LIBS) -lm
30 @@ -168,9 +168,8 @@ lib/libgpm.so.@abi_full@: $(PICS)
31 @LDFLAGS@ $(LDFLAGS) -o lib/libgpm.so.@abi_full@ $^ @LIBS@ @SHARED_LIBS@ $(LIBS)
32 lib/libgpm.so.@abi_lev@: lib/libgpm.so.@abi_full@
33 $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so.@abi_lev@
34 -# unneeded, isn't it?
35 -#lib/libgpm.so: lib/libgpm.so.@abi_full@
36 -# $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so
37 +lib/libgpm.so: lib/libgpm.so.@abi_full@
38 + $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so
40 include $(DEPFILE)