]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: fix libtool stupidity wrt. parallel install
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 23 Aug 2017 13:45:05 +0000 (15:45 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 23 Aug 2017 22:18:53 +0000 (00:18 +0200)
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 <equinox@opensourcerouting.org>
Makefile.am

index 494fcd4d5690b03560882d68366a17231a9faa89..48f4e50daa04886470e347ddf7b8723298d654a4 100644 (file)
@@ -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