diff --git a/packages/devel/libtool/meta b/packages/devel/libtool/meta index d8e3ed65f2..a2b3463211 100644 --- a/packages/devel/libtool/meta +++ b/packages/devel/libtool/meta @@ -11,4 +11,6 @@ PKG_PRIORITY="optional" PKG_SECTION="devel" PKG_SHORTDESC="libtool: Generic library support script" PKG_LONGDESC="This is GNU Libtool, a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface." -PKG_IS_ADDON="no" \ No newline at end of file +PKG_IS_ADDON="no" + +PKG_AUTORECONF="yes" diff --git a/packages/devel/libtool/patches/libtool-2.4-no_use_linker_plugin.patch b/packages/devel/libtool/patches/libtool-2.4-no_use_linker_plugin.patch new file mode 100644 index 0000000000..30abedba9c --- /dev/null +++ b/packages/devel/libtool/patches/libtool-2.4-no_use_linker_plugin.patch @@ -0,0 +1,13 @@ +diff -Naur libtool-2.4-old/libltdl/m4/libtool.m4 libtool-2.4-new/libltdl/m4/libtool.m4 +--- libtool-2.4-old/libltdl/m4/libtool.m4 2010-09-22 01:41:19.000000000 -0700 ++++ libtool-2.4-new/libltdl/m4/libtool.m4 2010-09-23 20:25:25.000000000 -0700 +@@ -6905,6 +6905,9 @@ + *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; + *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; + esac ++case "$CC $CFLAGS " in #( ++*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; ++esac + + dnl Parse the compiler output and extract the necessary + dnl objects, libraries and library flags.