Patch for unixccompiler.py to support HP-UX + gcc

Hello, gcc on hp-ux uses the native linker, so if gcc is used there, the normal gcc flags do not apply. I propose the following patch to unixccompiler.py ----8<------------8<-----------------8<------------8<-----------------8<------- 206,207c206,209 < elif compiler[:3] == "gcc" or compiler[:3] == "g++": < return "-Wl,-R" + dir ---
----8<------------8<-----------------8<------------8<-----------------8<------- That also adds +s, which means that SHLIB_PATH is honored (the same as LD_LIBRARY_PATH on Linux/Solaris). Regards, Harri

Harri Pasanen wrote:
Please upload patches to SourceForge. That way, they don't get lost. Thanks.
-- Marc-Andre Lemburg eGenix.com Professional Python Software directly from the Source (#1, May 19 2003)
Python/Zope Products & Consulting ... http://www.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
EuroPython 2003, Charleroi, Belgium: 36 days left

Harri Pasanen wrote:
Please upload patches to SourceForge. That way, they don't get lost. Thanks.
-- Marc-Andre Lemburg eGenix.com Professional Python Software directly from the Source (#1, May 19 2003)
Python/Zope Products & Consulting ... http://www.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
EuroPython 2003, Charleroi, Belgium: 36 days left
participants (2)
-
Harri Pasanen
-
M.-A. Lemburg