On Fri, 28 Mar 2008 04:49:49 pm Robert P. J. Day wrote:
> On Fri, 28 Mar 2008, Michael wrote:
> > I am getting an automake version mismatch when compiling libsamplerate.
> >
> > This worked for me:
> >
> > define Build/Compile
> >     pushd $(PKG_BUILD_DIR) && aclocal && automake && popd
> >     .....
> >
> > I can make that an official patch if you would like.
>
> there's been a ticket on this for a while:
>
>   https://dev.openwrt.org/ticket/2851
>
> rday

Contrary to the bug - this works for me for a 2.4 - as long as I run aclocal 
and automake.

The only question is whether pushd and popd should be used or whether
cd / cd - would be sufficient.

Signed-off-by: Michael Geddes<michael at frog.wheelycreek.net>
---

Index: libs/libsamplerate/Makefile
===================================================================
--- libs/libsamplerate/Makefile (revision 10654)
+++ libs/libsamplerate/Makefile (working copy)
@@ -42,6 +42,7 @@
 endef
 
 define Build/Compile
+       pushd $(PKG_BUILD_DIR) && aclocal && automake && popd
        $(MAKE) -C $(PKG_BUILD_DIR) all
        $(call libtool_fixup_libdir,$(PKG_INSTALL_DIR))
        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to