diff
Return a *list* of options otherwise these may be improperly interpreted as
one option with an embedded space. On /usr/bin/ld on a HP-UX/IA64 box this
results in:
ld: Unrecognized argument: +s -L
--- python/Lib/distutils/unixccompiler.py.original Mon Feb 14 16:35:56 2005
+++ python/Lib/distutils/unixccompiler.py Mon Feb 14 16:36:04 2005
@@ -204,7 +204,7 @@
# MacOSX's linker doesn't understand the -R flag at all
return "-L" + dir
elif sys.platform[:5] == "hp-ux":
- return "+s -L" + dir
+ return ["+s", "-L" + dir]
elif sys.platform[:7] == "irix646" or sys.platform[:6] == "osf1V5":
return ["-rpath", dir]
elif compiler[:3] == "gcc" or compiler[:3] == "g++":