Some build/distrib tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-08-25 05:59:23 +00:00
parent ebba910cf1
commit ba201fa431
3 changed files with 9 additions and 2 deletions

View File

@@ -311,6 +311,9 @@ elif os.name == 'posix' and sys.platform[:6] == "darwin":
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
if debug:
cflags.append('-g')
cflags.append('-O0')
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)
@@ -338,6 +341,9 @@ elif os.name == 'posix':
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
if debug:
cflags.append('-g')
cflags.append('-O0')
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)