summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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