lame: fix build if host has libgtk12-dev (gtk-config)
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 5 Jul 2011 12:58:20 +0000 (14:58 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 5 Jul 2011 12:58:20 +0000 (14:58 +0200)
Lame contains an optional gtk12 based frame analyzer application, which
will be built if gtk12 is detected (using gtk-config). We no longer
have support for (the obsolete) gtk12 in BR, but the host might have
gtk-config, so forcible disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/lame/lame.mk

index 841cbffb029e172ffa71bb73da5c9714eac7445c..281c1e865ba47d65f3acbe485b6bd34c3d93495d 100644 (file)
@@ -8,6 +8,7 @@ LAME_VERSION = 3.98.4
 LAME_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/lame
 LAME_DEPENDENCIES = host-pkg-config
 LAME_INSTALL_STAGING = YES
+LAME_CONF_ENV = GTK_CONFIG=/bin/false
 
 ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
 LAME_DEPENDENCIES += libsndfile