libapparmor: Force libtoolize to replace existing files

Fixes build error when attempting to build and test the 2.10.95 release
on Ubuntu 14.04:

 $ (cd libraries/libapparmor/ && ./autogen.sh && ./configure && \
   make && make check) > /dev/null
 ...
 libtool: Version mismatch error.  This is libtool 2.4.6 Debian-2.4.6-0.1, but the
 libtool: definition of this LT_INIT comes from libtool 2.4.2.
 libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 Debian-2.4.6-0.1
 libtool: and run autoconf again.
 make[2]: *** [grammar.lo] Error 63
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1

The --force option is needed to regenerate the libtool file in
libraries/libapparmor/.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Steve Beattie <steve@nxnw.org>
This commit is contained in:
Tyler Hicks 2016-09-14 12:48:58 -05:00
parent b6734696ea
commit 5cdc45deab

View file

@ -38,6 +38,6 @@ aclocal
echo "Running autoconf" echo "Running autoconf"
autoconf --force autoconf --force
echo "Running libtoolize" echo "Running libtoolize"
libtoolize --automake -c libtoolize --automake -c --force
echo "Running automake" echo "Running automake"
automake -ac automake -ac