summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-07-17 09:55:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-07-17 09:55:23 +0000
commita48b130c51b942c154ac56155e39994bcc301cc5 (patch)
tree1c08798e163bb351c489378a725e82f4259be0b5
parenteb04f1fe6de9b66ac314a3faf43f35c4d4217561 (diff)
sdl_ttf: fix sdl dependency
Patch by artemys - Closes #4164.
-rw-r--r--package/sdl_ttf/Config.in1
-rw-r--r--package/sdl_ttf/sdl_ttf.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/sdl_ttf/Config.in b/package/sdl_ttf/Config.in
index 21d43eb00..45cfd586c 100644
--- a/package/sdl_ttf/Config.in
+++ b/package/sdl_ttf/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_SDL_TTF
bool "SDL_TTF"
+ depends on BR2_PACKAGE_SDL
default n
select BR2_PACKAGE_FREETYPE
help
diff --git a/package/sdl_ttf/sdl_ttf.mk b/package/sdl_ttf/sdl_ttf.mk
index f0a6678c8..c11657e1e 100644
--- a/package/sdl_ttf/sdl_ttf.mk
+++ b/package/sdl_ttf/sdl_ttf.mk
@@ -60,7 +60,7 @@ $(TARGET_DIR)/usr/lib/libSDL_ttf.so: $(STAGING_DIR)/usr/lib/libSDL_ttf.so
cp -dpf $(STAGING_DIR)/usr/lib/libSDL_ttf*.so* $(TARGET_DIR)/usr/lib/
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libSDL_ttf.so
-SDL sdl_ttf: uclibc $(TARGET_DIR)/usr/lib/libSDL_ttf.so
+sdl_ttf: uclibc sdl $(TARGET_DIR)/usr/lib/libSDL_ttf.so
sdl_ttf-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(SDL_TTF_DIR) uninstall