linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01811
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2216: boost linking fix
------------------------------------------------------------
revno: 2216
committer: poy <poy@xxxxxxxxxx>
branch nick: repo
timestamp: Sun 2010-08-29 14:16:42 +0200
message:
boost linking fix
modified:
SConstruct
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct 2010-08-26 05:46:32 +0000
+++ SConstruct 2010-08-29 12:16:42 +0000
@@ -52,13 +52,13 @@
}
msvc_defs = {
- 'common' : ['_REENTRANT', 'BOOST_USE_WINDOWS_H'],
+ 'common' : ['_REENTRANT'],
'debug' : ['_DEBUG', '_HAS_ITERATOR_DEBUGGING=0', '_SECURE_SCL=0'],
'release' : ['NDEBUG']
}
gcc_defs = {
- 'common' : ['_REENTRANT', 'BOOST_USE_WINDOWS_H'],
+ 'common' : ['_REENTRANT'],
'debug' : ['_DEBUG'],
'release' : ['NDEBUG']
}
@@ -123,6 +123,10 @@
env.Append(CPPPATH = ['#/boost/', '#/intl/'])
+# boost defines
+if dev.is_win32():
+ env.Append(CPPDEFINES = ['BOOST_ALL_NO_LIB', 'BOOST_USE_WINDOWS_H'])
+
if not env['nativestl']:
env.Append(CPPPATH = ['#/stlport/stlport/'])
env.Append(LIBPATH = ['#/stlport/lib/'])