Date:2011-02-06 20:12:06 (10 years 18 days ago)
Author:kyak
Commit:4abe594a4f39e008c869ef643e9c223200e989d1
Message:libsdl-*: use ICONV notation

Files: libsdl-gfx/Makefile (2 diffs)
libsdl-image/Makefile (2 diffs)
libsdl-ttf/Makefile (2 diffs)

Change Details

libsdl-gfx/Makefile
1717PKG_BUILD_DIR:=$(BUILD_DIR)/SDL_gfx-$(PKG_VERSION)
1818
1919include $(INCLUDE_DIR)/package.mk
20include $(INCLUDE_DIR)/nls.mk
2021
2122define Package/libsdl-gfx
2223  SECTION:=libs
...... 
3334TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
3435
3536CONFIGURE_VARS += \
36    LIBS="-lSDL -ldirect -ldirectfb -lfusion -liconv"
37    LIBS="-lSDL -ldirect -ldirectfb -lfusion"
3738
3839define Build/Configure
3940    $(call Build/Configure/Default, \
libsdl-image/Makefile
1919PKG_INSTALL:=1
2020
2121include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
2223
2324define Package/libsdl-image
2425  SECTION:=libs
...... 
3839    --with-sdl-exec-prefix=$(STAGING_DIR)
3940
4041CONFIGURE_VARS += \
41    LIBS="-lSDL -ldirect -ldirectfb -lfusion -liconv"
42    LIBS="-lSDL -ldirect -ldirectfb -lfusion"
4243
4344define Build/InstallDev
4445    $(INSTALL_DIR) $(1)/usr/include/SDL $(1)/usr/lib/pkgconfig
libsdl-ttf/Makefile
1919PKG_INSTALL:=1
2020
2121include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
2223
2324define Package/libsdl-ttf
2425  SECTION:=libs
2526  CATEGORY:=Libraries
2627  TITLE:=Simple DirectMedia Layer True Font
2728  URL:=http://www.libsdl.org/projects/SDL_ttf/
28  DEPENDS:=+libsdl
29  DEPENDS:=+libsdl $(ICONV_DEPENDS) $(INTL_DEPENDS)
2930endef
3031
3132define Package/libsdl-ttf/description
...... 
3940CONFIGURE_ARGS += \
4041       --with-sdl-exec-prefix=$(STAGING_DIR) \
4142       --without-x \
42       LIBS="-lSDL"
43       LIBS="-lSDL -liconv"
4344
4445TARGET_LDFLAGS+= \
45       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
46       -L$(STAGING_DIR)/usr/lib/libintl/lib \
47       -L$(STAGING_DIR)/usr/lib/libiconv/lib
46       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
4847
4948define Build/InstallDev
5049    $(INSTALL_DIR) \

Archive Download the corresponding diff file



interactive