diff --git a/chroot_version_hooks.d/49_update_libtool b/chroot_version_hooks.d/49_update_libtool new file mode 100644 index 0000000000..c8693e34ce --- /dev/null +++ b/chroot_version_hooks.d/49_update_libtool @@ -0,0 +1,12 @@ +# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Update libtool to make sure it's in sync with toolchain. + +if grep -q 4.6.x-google /usr/bin/libtool; then + info "Rebuilding libtool after gcc upgrade" + sudo -E emerge libtool -q +fi + +exit 0