changeset 3001:57823b07784e draft

sdl_ttf: add Requires.private:freetype2, otherwise -lfreetype is missing when doing a static build using pkg-config --static --libs
author Sylvain Beucler <beuc@beuc.net>
date Wed, 19 Dec 2012 01:49:19 +0100
parents 5dfe10a45b1b
children 28a27d0793fe
files src/sdl_ttf.mk
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sdl_ttf.mk
+++ b/src/sdl_ttf.mk
@@ -16,6 +16,7 @@
 endef
 
 define $(PKG)_BUILD
+    echo 'Requires.private: freetype2' >> '$(1)/SDL_ttf.pc.in'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --disable-shared \