[packages] pango for X should depend on libXft
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 16 Feb 2010 10:17:43 +0000 (10:17 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Tue, 16 Feb 2010 10:17:43 +0000 (10:17 +0000)
SVN-Revision: 19656

Xorg/lib/pango/Makefile

index a2421121d7a25f043afd3781fa021aca77730db1..cc52c6c4c02033b552e160c229387740af1016ff 100644 (file)
@@ -31,7 +31,8 @@ define Package/pango
   SUBMENU:=libraries
   TITLE:=Text layout and rendering library
   DEPENDS:=+cairo +glib2 +fontconfig +libfreetype \
-  +FEATURE_drawing-backend_libX11:libX11
+  +FEATURE_drawing-backend_libX11:libX11 \
+  +FEATURE_drawing-backend_libX11:libXft
 endef
 
 define Package/pango/description
@@ -45,6 +46,9 @@ endef
 CONFIGURE_ARGS += \
        $(if $(CONFIG_PACKAGE_libX11), --with-x, --without-x)
 
+CONFIGURE_VARS += \
+       CXX=$(TARGET_CC)
+
 define Build/InstallDev
        $(INSTALL_DIR) \
                $(1)/usr/lib/pkgconfig \