47 lines
1.8 KiB
Diff
47 lines
1.8 KiB
Diff
From: Philipp Thomas <pth@suse.de>
|
|
Date: 2013-04-16 13:20:48+02:00
|
|
Subject: Do create the symlink libgpm.so
|
|
|
|
---
|
|
src/Makefile.in | 11 ++++++-----
|
|
1 file changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
signed-off-by: Philipp Thomas <pth@suse.de>
|
|
|
|
Index: src/Makefile.in
|
|
===================================================================
|
|
--- src/Makefile.in.orig 2013-04-16 13:16:45.723219315 +0200
|
|
+++ src/Makefile.in 2013-04-16 13:29:52.385720884 +0200
|
|
@@ -79,7 +79,7 @@ prog/%: prog/%.o
|
|
# | $(SED) '\''s/\($*\)\.o\([ :]*\)/\1.o \1.lo\2/g'\'' > $(DEPDIR)/$@'
|
|
|
|
# Do it all!
|
|
-all: gpm lib/libgpm.so.@abi_lev@ @LIBGPM_A@ $(PROG)
|
|
+all: gpm lib/libgpm.so.@abi_lev@ lib/libgpm.so @LIBGPM_A@ $(PROG)
|
|
|
|
gpm: $(GOBJ)
|
|
$(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $(GOBJ) @LIBS@ $(LIBS) -lm
|
|
@@ -114,7 +114,8 @@ install: check
|
|
# headache in cases like this
|
|
if test "x@SHLIB@" != "x" ; then \
|
|
$(INSTALL_DATA) -m 644 lib/libgpm.so.@abi_full@ $(DESTDIR)$(libdir)/libgpm.so.@abi_full@ ; \
|
|
- cd $(DESTDIR)$(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ ; \
|
|
+ cd $(DESTDIR)$(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ && \
|
|
+ $(LN_S) -f libgpm.so.@abi_lev@ libgpm.so ; \
|
|
echo "WARNING: We installed a lib, you should now call ldconfig" ; \
|
|
echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" ; \
|
|
echo "Or to update everything just type ldconfig" ; \
|
|
@@ -170,9 +171,9 @@ lib/libgpm.so.@abi_full@: $(PICS)
|
|
|
|
lib/libgpm.so.@abi_lev@: lib/libgpm.so.@abi_full@
|
|
$(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so.@abi_lev@
|
|
-# unneeded, isn't it?
|
|
-#lib/libgpm.so: lib/libgpm.so.@abi_full@
|
|
-# $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so
|
|
+
|
|
+lib/libgpm.so: lib/libgpm.so.@abi_full@
|
|
+ $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so
|
|
|
|
include $(DEPFILE)
|
|
|