aboutsummaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 7 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 850d4243..b9e7d872 100644
--- a/SConstruct
+++ b/SConstruct
@@ -94,6 +94,7 @@ libvmime_sources = [
'contentTypeField.cpp', 'contentTypeField.hpp',
'dateTime.cpp', 'dateTime.hpp',
'defaultAttachment.cpp', 'defaultAttachment.hpp',
+ 'disposition.cpp', 'disposition.hpp',
'emptyContentHandler.cpp', 'emptyContentHandler.hpp',
'encoder.cpp', 'encoder.hpp',
'encoder7bit.cpp', 'encoder7bit.hpp',
@@ -305,6 +306,7 @@ libvmimetest_common = [
libvmimetest_sources = [
[ 'tests/parser/bodyPartTest', [ 'tests/parser/bodyPartTest.cpp' ] ],
+ [ 'tests/parser/dispositionTest', [ 'tests/parser/dispositionTest.cpp' ] ],
[ 'tests/parser/encoderTest', [ 'tests/parser/encoderTest.cpp' ] ],
[ 'tests/parser/headerTest', [ 'tests/parser/headerTest.cpp' ] ],
[ 'tests/parser/mailboxTest', [ 'tests/parser/mailboxTest.cpp' ] ],
@@ -1412,7 +1414,6 @@ VMIME_BUILTIN_PLATFORMS=''
configure_in.write("""
-
#
# Flags
#
@@ -1432,6 +1433,7 @@ EXTRA_LIBS=""
CFLAGS=""
CXXFLAGS=""
+# -- Debug
if test x$VMIME_DEBUG = x1 ; then
# -g
OLD_CXXFLAGS="$CXXFLAGS"
@@ -1446,6 +1448,10 @@ else
AC_TRY_COMPILE(,,echo yes,echo no; CXXFLAGS="$OLD_CXXFLAGS")
fi
+# -- HACK: add -fPIC or -fpic on static library object files
+EXTRA_CFLAGS="$EXTRA_CFLAGS $lt_prog_compiler_pic"
+
+
#
# Check to see if the compiler can handle some flags