|
@@ -203,8 +203,8 @@ define PYTHON3_REMOVE_USELESS_FILES
|
|
|
rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)m-config
|
|
|
rm -f $(TARGET_DIR)/usr/bin/python3-config
|
|
|
rm -f $(TARGET_DIR)/usr/bin/smtpd.py.3
|
|
|
- for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/config-$(PYTHON3_VERSION_MAJOR)m/ \
|
|
|
- -type f -not -name pyconfig.h -a -not -name Makefile` ; do \
|
|
|
+ for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/config-$(PYTHON3_VERSION_MAJOR)m-*/ \
|
|
|
+ -type f -not -name Makefile` ; do \
|
|
|
rm -f $$i ; \
|
|
|
done
|
|
|
rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/__pycache__/
|