Copy Solaris note from 2.4's setup.py

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-01-08 00:31:01 +00:00
parent 7d3000f8db
commit f9b46bcb17

View File

@ -519,6 +519,13 @@ elif os.name == 'posix':
libdirs = []
libs = []
# If you get unresolved symbol errors on Solaris and are using gcc, then
# uncomment this block to add the right flags to the link step and build
# again.
## if os.uname()[0] == 'SunOS':
## libs.append('gcc')
## libdirs.append(commands.getoutput("gcc -print-search-dirs | grep '^install' | awk '{print $2}'")[:-1])
cflags = os.popen(WX_CONFIG + ' --cxxflags', 'r').read()[:-1]
cflags = cflags.split()
if debug: