[buildroot 0000841]: Python package - wrong include and library path

bugs at busybox.net bugs at busybox.net
Tue Apr 18 17:23:16 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=841 
====================================================================== 
Reported By:                nemo
Assigned To:                uClibc
====================================================================== 
Project:                    buildroot
Issue ID:                   841
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-18-2006 10:23 PDT
Last Modified:              04-18-2006 10:23 PDT
====================================================================== 
Summary:                    Python package - wrong include and library path
Description: 
setup.py uses standard host's include and library path for modules
building.

This patch forces usage of staging_dir.

This second patch removes *.pyc installed in target_dir:
--- package/python/python.mk    (revisione 118)
+++ package/python/python.mk    (revisione 119)
@@ -70,7 +70,7 @@
        rm $(TARGET_DIR)/usr/bin/python?.?
        rm $(TARGET_DIR)/usr/bin/idle
        rm $(TARGET_DIR)/usr/bin/pydoc
-       find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -o -name '*.pyo' -exec
rm {} \;
+       find $(TARGET_DIR)/usr/lib/ \( -name '*.pyc' -o -name '*.pyo' \)
-exec rm {} \;
        rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
                $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc \
                $(TARGET_DIR)/usr/lib/python*/test

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-06 10:23  nemo           New Issue                                    
04-18-06 10:23  nemo           Status                   new => assigned     
04-18-06 10:23  nemo           Assigned To               => uClibc          
04-18-06 10:23  nemo           File Added: python-libsearch.patch               
    
======================================================================




More information about the uClibc-cvs mailing list