[packages] gtk2: depend on glib2, remove libintl, libiconv stuff, that is glib2's...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 26 Dec 2010 03:52:33 +0000 (03:52 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 26 Dec 2010 03:52:33 +0000 (03:52 +0000)
SVN-Revision: 24831

Xorg/lib/gtk2/Makefile

index 504fa1c40d1d8b8f98518073dc1fb97f1af02c3e..dab2e094df4d2282a19dc142e7869062ab890c0d 100644 (file)
@@ -21,14 +21,8 @@ PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
-TARGET_CFLAGS+=\
-       -I$(STAGING_DIR)/usr/lib/libintl/include/ \
-       -I$(STAGING_DIR)/usr/lib/libiconv/include/
-
 TARGET_LDFLAGS+=\
-       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-       -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
-       -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
 STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_gtk2 CONFIG_PACKAGE_gtk2-cups)
 
@@ -39,7 +33,7 @@ define Package/gtk2
   CATEGORY:=Xorg
   SUBMENU:=framework
   TITLE:=GTK+-2.0
-  DEPENDS:=@DISPLAY_SUPPORT +cairo +pango +libpng +libjpeg +atk +libtiff \
+  DEPENDS:=@DISPLAY_SUPPORT +cairo +pango +libpng +libjpeg +atk +libtiff +glib2 \
   +FEATURE_drawing-backend_DirectFB:directfb \
   +FEATURE_drawing-backend_libX11:libX11 \
   +FEATURE_drawing-backend_libX11:libXext \