Selaa lähdekoodia

gst-plugins-base: don't search host headers if freetype isn't available

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>
Peter Korsgaard 16 vuotta sitten
vanhempi
commit
8232850c51
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      package/multimedia/gst-plugins-base/gst-plugins-base.mk

+ 5 - 0
package/multimedia/gst-plugins-base/gst-plugins-base.mk

@@ -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) \