changeset 1285:573d85563baa

bugfix for lame: wine confuses the cross-compilation detection
author Tony Theodore <tonyt@logyst.com>
date Tue, 05 Oct 2010 17:56:43 +1100
parents 2cd4b53d10bb
children bfa5af598644
files src/lame.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lame.mk	Tue Oct 05 15:23:21 2010 +1100
+++ b/src/lame.mk	Tue Oct 05 17:56:43 2010 +1100
@@ -19,6 +19,8 @@
 endef
 
 define $(PKG)_BUILD
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \