]> git.saurik.com Git - wxWidgets.git/commitdiff
Copy Solaris note from 2.4's setup.py
authorRobin Dunn <robin@alldunn.com>
Thu, 8 Jan 2004 00:31:01 +0000 (00:31 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 8 Jan 2004 00:31:01 +0000 (00:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/setup.py

index cc6b015ce408059d6a0ac920a459a29d677b06c6..0c42993d779cb83341d44dcc1f8e4ac2202661d0 100755 (executable)
@@ -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: