summaryrefslogtreecommitdiffstats
path: root/libs/poco/patches/100-sharedmemory.patch
blob: 811a964800d9193522af10b888918477b3b4605f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/configure
+++ b/configure
@@ -50,6 +50,11 @@
     Useful if your C++ compiler has incomplete floating-point support
     (such as uClibc-based systems).
 
+  --no-sharedmemory
+    Compile with -DPOCO_NO_SHAREDMEMORY
+    Useful if your C++ compiler has incomplete shared memory support
+    (such as uClibc-based systems).
+
   --omit=<component>{,<component>}
     Do not build the specified component(s).
     Example: --omit=Data/MySQL,Data/ODBC,Zip
@@ -140,6 +145,10 @@
 		flags="$flags -DPOCO_NO_FPENVIRONMENT"
 	fi
 
+	if [ "$1" = "--no-sharedmemory" ] ; then
+		flags="$flags -DPOCO_NO_SHAREDMEMORY"
+	fi
+
 	if [ "$1" = "--poquito" ] ; then
 		flags="$flags -DPOCO_NO_FILECHANNEL -DPOCO_NO_SPLITTERCHANNEL -DPOCO_NO_SYSLOGCHANNEL -DPOCO_UTIL_NO_INIFILECONFIGURATION -DPOCO_UTIL_NO_XMLCONFIGURATION"
 	fi