From: Robin Dunn Date: Thu, 8 Jan 2004 00:31:01 +0000 (+0000) Subject: Copy Solaris note from 2.4's setup.py X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f9b46bcb178dca18e77b5a9b5959951b222d6a4e 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 --- diff --git a/wxPython/setup.py b/wxPython/setup.py index cc6b015ce4..0c42993d77 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -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: