make pango and atk find the correct location of iconv and intl
authorJohn Crispin <john@openwrt.org>
Sat, 6 Oct 2007 00:33:02 +0000 (00:33 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 6 Oct 2007 00:33:02 +0000 (00:33 +0000)
SVN-Revision: 9155

XOrg/lib/atk/Makefile
XOrg/lib/pango/Makefile

index 55015e4..b0fb539 100644 (file)
@@ -17,6 +17,8 @@ PKG_SOURCE_URL:=http://ftp.gnome.org/pub/gnome/sources/atk/1.11/
 
 include $(INCLUDE_DIR)/package.mk
 
+EXTRA_LDFLAGS:=-L$(STAGING_DIR)/usr/lib/libiconv/lib/ -L$(STAGING_DIR)/usr/lib/libintl/lib/
+
 define Package/atk
   SECTION:=xorg-libs
   CATEGORY:=Xorg
index 7109c22..2635d20 100644 (file)
@@ -17,11 +17,7 @@ PKG_SOURCE_URL:=ftp://ftp.gnome.org/pub/gnome/sources/pango/1.12/
 
 include $(INCLUDE_DIR)/package.mk
 
-EXTRA_LDFLAGS:="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
-
-#CONFIGURE_VARS+=FONTCONFIG_LIBS="-L/usr/src/owrt-X2/staging_dir/i386/usr/lib $(STAGING_DIR)/usr/lib/libfontconfig.la -lz"
-
-CONFIGURE_VARS+=RELINK_DIR=$(STAGING_DIR)
+EXTRA_LDFLAGS:=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib/ -L$(STAGING_DIR)/usr/lib/libintl/lib/
 
 define Package/pango
   SECTION:=xorg-libs