17 lines
841 B
Diff
17 lines
841 B
Diff
Fix link generation of .so files
|
|
Source: https://git.archlinux.org/svntogit/packages.git/plain/trunk/Makefile.patch?h=packages/libspnav
|
|
|
|
--- Makefile.in~ 2015-01-10 09:08:35.043417955 +0000
|
|
+++ Makefile.in 2015-01-10 09:09:00.833315269 +0000
|
|
@@ -54,8 +54,8 @@
|
|
cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
|
|
[ -n "$(soname)" ] && \
|
|
rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \
|
|
- ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
|
|
- ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
|
|
+ ln -s $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
|
|
+ ln -s $(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
|
|
true
|
|
for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done
|
|
|