[Python-bugs-list] [ python-Bugs-799088 ] distutils ignored LDFLAGS in Makefile

SourceForge.net noreply at sourceforge.net
Wed Sep 3 02:15:31 EDT 2003


Bugs item #799088, was opened at 2003-09-02 13:40
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=799088&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Nobody/Anonymous (nobody)
Summary: distutils ignored LDFLAGS in Makefile

Initial Comment:
Distutils ignores the LDFLAGS variable in the Python

Makefile. This is bad, since LDFLAGS typically contains

the -L linker flag telling the linker where to look for

extra libraries.



A possible patch is attached (if the checkbox works

this time :-)



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

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2003-09-03 10:15

Message:
Logged In: YES 
user_id=43607

This solution is fine with me.

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-09-03 07:24

Message:
Logged In: YES 
user_id=21627

I think this is incorrect: LDFLAGS should *not* be used by

distutils. Instead, LDSHARED should incorporate LDFLAGS

where needed. Atleast that is what is done on a number of

platforms (*BSD, Darwin, ...). If your proposed route is

taken, these incorporations would need to be undone, AFAICT.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=799088&group_id=5470



More information about the Python-bugs-list mailing list