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

noreply@sourceforge.net noreply@sourceforge.net
Thu, 05 Apr 2001 08:47:38 -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: Closed
Priority: 5
Submitted By: Steven D. Majewski (sdm7g)
>Assigned to: A.M. Kuchling (akuchling)
>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"


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

>Comment By: A.M. Kuchling (akuchling)
Date: 2001-04-05 08:47

Message:
Logged In: YES 
user_id=11375

Accepted and checked in.

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

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