summaryrefslogtreecommitdiff
path: root/pcr/armory/build_detect_platform-01.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/armory/build_detect_platform-01.patch')
-rw-r--r--pcr/armory/build_detect_platform-01.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/armory/build_detect_platform-01.patch b/pcr/armory/build_detect_platform-01.patch
new file mode 100644
index 000000000..ca3a5cc8d
--- /dev/null
+++ b/pcr/armory/build_detect_platform-01.patch
@@ -0,0 +1,13 @@
+--- cppForSwig/leveldb/build_detect_platform 2014-04-21 15:57:03.485118965 +0200
++++ cppForSwig/leveldb/build_detect_platform_fix 2014-04-21 15:59:19.714407671 +0200
+@@ -185,9 +185,7 @@
+
+ # Test whether Snappy library is installed
+ # http://code.google.com/p/snappy/
+- $CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT 2>/dev/null <<EOF
+- #include <snappy.h>
+- int main() {}
++
+ EOF
+ if [ "$?" = 0 ]; then
+ COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY"