[package] update python to 2.6.4 (#6407, fixes #6192)
[openwrt/svn-archive/archive.git] / libs / libtwin / Makefile
index d58dfdbb4781b14e8d9aebcdf2e883a6f7e1ab43..2a85ced8085a4b7f9410678d75eb798d794cc967 100644 (file)
@@ -23,7 +23,7 @@ PKG_INSTALL=1
 define Package/libtwin
        SECTION:=libs
        CATEGORY:=Libraries
-       DEPENDS:=+zlib +libpng +libjpeg
+       DEPENDS:=+zlib +libpng +libjpeg +libfreetype
        TITLE:=The tiny windowing system library
        URL:=http://ozlabs.org/~jk/projects/petitboot/
        MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
@@ -35,7 +35,12 @@ endef
 
 CONFIGURE_ARGS += --enable-shared --enable-static --disable-x11
 
-EXTRA_CFLAGS += -flax-vector-conversions
+ifdef CONFIG_powerpc
+  EXTRA_CFLAGS += -flax-vector-conversions
+endif
+
+TARGET_LDFLAGS += \
+       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/libtwin