summarylogtreecommitdiffstats
path: root/mongodb-4.4.1-boost.patch
diff options
context:
space:
mode:
authorJustKidding2022-08-03 16:06:57 -0500
committerJustKidding2022-08-03 16:06:57 -0500
commit8c576ee6fcfb1f8aac72e39f68f4f0512f5d441f (patch)
tree8a2f18b64532521d83093a90af5e1859d8386e2a /mongodb-4.4.1-boost.patch
downloadaur-8c576ee6fcfb1f8aac72e39f68f4f0512f5d441f.tar.gz
initial commit
Diffstat (limited to 'mongodb-4.4.1-boost.patch')
-rw-r--r--mongodb-4.4.1-boost.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/mongodb-4.4.1-boost.patch b/mongodb-4.4.1-boost.patch
new file mode 100644
index 000000000000..009ca6826a4f
--- /dev/null
+++ b/mongodb-4.4.1-boost.patch
@@ -0,0 +1,23 @@
+diff --git a/SConstruct b/SConstruct
+index 89c044ab..0484e475 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -3511,17 +3511,11 @@ def doConfigure(myenv):
+ "BOOST_LOG_NO_SHORTHAND_NAMES",
+ "BOOST_LOG_USE_NATIVE_SYSLOG",
+ "BOOST_LOG_WITHOUT_THREAD_ATTR",
++ "BOOST_LOG_DYN_LINK",
+ "ABSL_FORCE_ALIGNED_ACCESS",
+ ]
+ )
+
+- if link_model.startswith("dynamic") and not link_model == 'dynamic-sdk':
+- conf.env.AppendUnique(
+- CPPDEFINES=[
+- "BOOST_LOG_DYN_LINK",
+- ]
+- )
+-
+ if use_system_version_of_library("boost"):
+ if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
+ myenv.ConfError("can't find boost headers")