mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 01:17:45 +00:00
freetype: strip target library and remove freetype-config if not needed
As noticed by Thomas Petazzoni.
This commit is contained in:
parent
32417137be
commit
eee376bc8e
@ -21,6 +21,10 @@ $(FREETYPE_HOOK_POST_INSTALL):
|
|||||||
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include/freetype2\',g" \
|
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include/freetype2\',g" \
|
||||||
-e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
|
-e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
|
||||||
$(STAGING_DIR)/usr/bin/freetype-config
|
$(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 $@
|
touch $@
|
||||||
|
|
||||||
# freetype for the host
|
# freetype for the host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user