honor custom ldflags when building the rundemo app
This commit is contained in:
parent
f9d229c7dc
commit
8474b45ce5
1 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,8 @@ source = Split(
|
|||
"""
|
||||
)
|
||||
|
||||
demo_env = env.Clone()
|
||||
|
||||
headers = env['CPPPATH']
|
||||
|
||||
boost_regex = 'boost_regex%s' % env['BOOST_APPEND']
|
||||
|
@ -48,7 +50,7 @@ if env['PLATFORM'] in ('Darwin','SunOS'):
|
|||
libraries.append(boost_regex)
|
||||
libraries.append(env['ICU_LIB_NAME'])
|
||||
|
||||
rundemo = env.Program('rundemo', source, CPPPATH=headers, LIBS=libraries)
|
||||
rundemo = demo_env.Program('rundemo', source, CPPPATH=headers, LIBS=libraries, LINKFLAGS=env["CUSTOM_LDFLAGS"])
|
||||
|
||||
# we don't install this app because the datasource paths are relative
|
||||
# and we're not going to install the sample data.
|
||||
|
|
Loading…
Add table
Reference in a new issue