[Patches] [ python-Patches-413912 ] Disutils/unixcompiler.py needs ".m" extension

noreply@sourceforge.net noreply@sourceforge.net
Wed, 04 Apr 2001 22:13:15 -0700


Patches item #413912, was updated on 2001-04-04 22:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=413912&group_id=5470

Category: distutils
Group: None
Status: Open
Priority: 5
Submitted By: Steven D. Majewski (sdm7g)
Assigned to: Nobody/Anonymous (nobody)
Summary: Disutils/unixcompiler.py  needs ".m" extension 

Initial Comment:
PyObjC is now using distutils for it's build.
Problem is that distutils doesn't know about ".m" 
files. If you can just add that extension, it will
build and install properly.  -- Steve.

*** Lib/distutils/unixccompiler.py.0    Tue Sep 26 22:08:14 2000
--- Lib/distutils/unixccompiler.py.1    Fri Mar 30 22:00:24 2001
***************
*** 67,73 ****
      # reasonable common default here, but it's not necessarily used on all
      # Unices!
  
!     src_extensions = [".c",".C",".cc",".cxx",".cpp"]
      obj_extension = ".o"
      static_lib_extension = ".a"
      shared_lib_extension = ".so"
--- 67,73 ----
      # reasonable common default here, but it's not necessarily used on all
      # Unices!
  
!     src_extensions = [".c",".C",".cc",".cxx",".cpp",".m"]
      obj_extension = ".o"
      static_lib_extension = ".a"
      shared_lib_extension = ".so"


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=413912&group_id=5470