projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3241713
)
freetype: strip target library and remove freetype-config if not needed
author
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 30 Mar 2009 13:59:22 +0000
(13:59 -0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 30 Mar 2009 13:59:22 +0000
(13:59 -0000)
As noticed by Thomas Petazzoni.
package/freetype/freetype.mk
patch
|
blob
|
history
diff --git
a/package/freetype/freetype.mk
b/package/freetype/freetype.mk
index d71ad96bb7b2bc63c8b38ed5710fa31bee40593f..988483fe4b41cc0b8de3182539feacd08037afb2 100644
(file)
--- a/
package/freetype/freetype.mk
+++ b/
package/freetype/freetype.mk
@@
-21,6
+21,10
@@
$(FREETYPE_HOOK_POST_INSTALL):
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include/freetype2\',g" \
-e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
$(STAGING_DIR)/usr/bin/freetype-config
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libfreetype.so
+ifneq ($(BR2_HAVE_DEVFILES),y)
+ rm -f $(TARGET_DIR)/usr/bin/freetype-config
+endif
touch $@
# freetype for the host