]> git.proxmox.com Git - mirror_frr.git/commitdiff
build: silence idiotic libtool warnings
authorDavid Lamparter <equinox@diac24.net>
Wed, 15 Apr 2020 14:03:42 +0000 (16:03 +0200)
committerDavid Lamparter <equinox@diac24.net>
Mon, 27 Apr 2020 08:02:11 +0000 (10:02 +0200)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac

index d46fa75c54fcb581c024b433c65755b33dcb0d78..e1e23e224d15d60a0777d176c338cd09cef99cc7 100755 (executable)
@@ -428,6 +428,9 @@ LT_INIT
 _LT_CONFIG_LIBTOOL([
   patch -N -i "${srcdir}/m4/libtool-whole-archive.patch" libtool >&AS_MESSAGE_LOG_FD || \
     AC_MSG_WARN([Could not patch libtool for static linking support.  Loading modules into a statically linked daemon will fail.])
+  sed -e 's%func_warning "relinking%true #\0%' -i libtool || true
+  sed -e 's%func_warning "remember to run%true #\0%' -i libtool || true
+  sed -e 's%func_warning ".*has not been installed in%true #\0%' -i libtool || true
 ])
 if test "$enable_static_bin" = "yes"; then
   AC_LDFLAGS="-static"