Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 21 Dec 2021 18:29:28 +0100
Description: The build system is set up to produce "thin" archives
 that can't stand on their own
Origin: https://lists.debian.org/debian-med/2021/12/msg00131.html

--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ PREPROCESS.CXX = ${CXX} -o $@ -E ${cppfl
 COMPILE.C = ${CC} -o $@ -c ${cppflags} ${cflags} -MD -MP $(abspath $<)
 LINK.EXE = ${LD} -o $@ $(ldflags) $(filter-out Makefile,$^) $(ldlibs)
 LINK.SO = ${LD} -o $@.$(SOVERSION) -shared -Wl,-soname,`basename $@`.$(SOVERSION) $(ldflags) $(filter-out Makefile,$^) $(ldlibs)
-LINK.A = ${AR} rscT $@ $(filter-out Makefile,$^)
+LINK.A = ${AR} rsc $@ $(filter-out Makefile,$^)
 
 exes := benchmarks tests example
 
