mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Also set LDSHARED from the wx-config --ld output.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -226,7 +226,7 @@ class Configuration(object):
|
||||
self.WXRELEASE = self.getWxConfigValue('--release')
|
||||
self.WXPREFIX = self.getWxConfigValue('--prefix')
|
||||
|
||||
self.CC = self.CXX = None
|
||||
self.CC = self.CXX = self.LDSHARED = None
|
||||
|
||||
# wxMac settings
|
||||
if sys.platform[:6] == "darwin":
|
||||
@@ -249,6 +249,9 @@ class Configuration(object):
|
||||
if not os.environ.get('CC') or not os.environ.get('CXX'):
|
||||
self.CC = os.environ["CC"] = self.getWxConfigValue('--cc')
|
||||
self.CXX = os.environ["CXX"] = self.getWxConfigValue('--cxx')
|
||||
self.LDSHARED = os.environ["LDSHARED"] = \
|
||||
self.getWxConfigValue('--ld').replace(' -o', '') \
|
||||
+ ' -bundle -undefined dynamic_lookup'
|
||||
|
||||
# wxGTK settings
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user