X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6281ceb776325251aa119c7b496e6152303996a..f9b46bcb178dca18e77b5a9b5959951b222d6a4e:/wxPython/setup.py 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: