From 8c8b989635eb4aa3f846c4c8eb58d9e35dca93ea Mon Sep 17 00:00:00 2001 From: "M. Dietrich" Date: Mon, 1 Mar 2010 15:37:02 +0100 Subject: [PATCH] add mirkos patch --- libsdl-ttf/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/libsdl-ttf/Makefile b/libsdl-ttf/Makefile index 24095b7..9101ade 100644 --- a/libsdl-ttf/Makefile +++ b/libsdl-ttf/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsdl-ttf PKG_VERSION:=2.0.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=SDL_ttf-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.libsdl.org/projects/SDL_ttf/release/ @@ -32,7 +32,19 @@ define Package/libsdl-ttf/description SDL_ttf is a TrueType font rendering library that is used with the SDL library, and almost as portable. It depends on freetype2 to handle the TrueType font data. It allows a programmer to use multiple TrueType fonts without having to code a font rendering routine themselves. With the power of outline fonts and antialiasing, high quality text output can be obtained without much effort. endef -CONFIGURE_ARGS += --without-x +PKG_FIXUP:=libtool + +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL + +CONFIGURE_ARGS += \ + --with-sdl-exec-prefix=$(STAGING_DIR) \ + --without-x \ + LIBS="-lSDL" + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib \ + -L$(STAGING_DIR)/usr/lib/libiconv/lib define Build/InstallDev $(INSTALL_DIR) \