mirror of https://github.com/python/cpython.git
According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED
needed an adaptation for the latest gcc -- we need to grep stderr as well as stdout for the magic string BFD. (Does anybody know what BFD means?)
This commit is contained in:
parent
43265beff9
commit
9c6ba9b598
|
@ -565,7 +565,7 @@ then
|
|||
fi;;
|
||||
SunOS/5*) case $CC in
|
||||
*gcc*)
|
||||
if $CC -Xlinker -V 2>/dev/null | grep BFD >/dev/null
|
||||
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
|
||||
then
|
||||
LINKFORSHARED="-Xlinker --export-dynamic"
|
||||
fi;;
|
||||
|
|
Loading…
Reference in New Issue