libmandoc.so must be linked with COMPAT_OBJS
This commit is contained in:
parent
aff8b49b8e
commit
16c649d2cf
@ -59,8 +59,8 @@ diff -up mandoc-1.14.5/Makefile.orig mandoc-1.14.5/Makefile
|
|||||||
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
|
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
|
||||||
ar rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
|
ar rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
|
||||||
|
|
||||||
+libmandoc.so.$(SOVERSION): $(LIBMANDOC_OBJS)
|
+libmandoc.so.$(SOVERSION): $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
|
||||||
+ $(CC) -shared -Wl,-soname=libmandoc.so.$(SOMAJOR) -o $@ $(LIBMANDOC_OBJS)
|
+ $(CC) -shared -Wl,-soname=libmandoc.so.$(SOMAJOR) -o $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
|
||||||
+
|
+
|
||||||
+libmandoc.so.$(SOMAJOR): libmandoc.so.$(SOVERSION)
|
+libmandoc.so.$(SOMAJOR): libmandoc.so.$(SOVERSION)
|
||||||
+ ln -sf libmandoc.so.$(SOVERSION) libmandoc.so.$(SOMAJOR)
|
+ ln -sf libmandoc.so.$(SOVERSION) libmandoc.so.$(SOMAJOR)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: mandoc
|
Name: mandoc
|
||||||
Version: 1.14.5
|
Version: 1.14.5
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: A suite of tools for compiling mdoc and man
|
Summary: A suite of tools for compiling mdoc and man
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
@ -234,6 +234,9 @@ fi
|
|||||||
%{_mandir}/man3/tbl.3*
|
%{_mandir}/man3/tbl.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 14 2020 Björn Esser <besser82@fedoraproject.org> - 1.14.5-10
|
||||||
|
- libmandoc.so must be linked with COMPAT_OBJS
|
||||||
|
|
||||||
* Mon Mar 09 2020 David Cantrell - 1.14.5-9
|
* Mon Mar 09 2020 David Cantrell - 1.14.5-9
|
||||||
- BR perl-interpreter
|
- BR perl-interpreter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user