From: David Lamparter Date: Wed, 23 Aug 2017 13:45:05 +0000 (+0200) Subject: build: fix libtool stupidity wrt. parallel install X-Git-Tag: frr-4.0-dev~378^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6a35bfba5e4e4135a29e87dc554b4e7f19f06831;p=matthieu%2Ffrr.git build: fix libtool stupidity wrt. parallel install there's no dependency between libraries and other things to be installed, but libtool in its 90ies design wants to relink libraries when installing them. Add manual dependencies to work around this. Signed-off-by: David Lamparter --- diff --git a/Makefile.am b/Makefile.am index 494fcd4d56..48f4e50daa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,14 @@ pkginclude_HEADERS = nodist_pkginclude_HEADERS = dist_examples_DATA = +## libtool, the self-made GNU scourge +## ... this should fix relinking +## ... and AUTOMAKE_DUMMY is needed to prevent automake from treating this +## as overriding the normal targets... +$(AUTOMAKE_DUMMY)install-moduleLTLIBRARIES: install-libLTLIBRARIES +$(AUTOMAKE_DUMMY)install-binPROGRAMS: install-libLTLIBRARIES +$(AUTOMAKE_DUMMY)install-sbinPROGRAMS: install-libLTLIBRARIES + include lib/subdir.am include zebra/subdir.am include qpb/subdir.am