gst-plugins-base: don't search host headers if freetype isn't available
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 22 Jul 2009 20:16:07 +0000 (22:16 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 22 Jul 2009 20:16:07 +0000 (22:16 +0200)
freetype is only used by examples, but if it is not found
and the host has a freetype-config script, then the host
include dirs are added to the search path causing trouble.

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

index 88c68e15d981fcf206d5dc0c75f20c2e978c6fa8..63f23cd5cdd9e27e844765c6f548753027e25c38 100644 (file)
@@ -9,6 +9,11 @@ GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
 GST_PLUGINS_BASE_INSTALL_STAGING = YES
 GST_PLUGINS_BASE_LIBTOOL_PATCH = NO
 
+# freetype is only used by examples, but if it is not found
+# and the host has a freetype-config script, then the host
+# include dirs are added to the search path causing trouble
+GST_PLUGINS_BASE_CONF_ENV = FT2_CONFIG=/bin/false
+
 GST_PLUGINS_BASE_CONF_OPT = \
                $(DISABLE_NLS) \
                $(DISABLE_LARGEFILE) \