summaryrefslogtreecommitdiff
path: root/pcr/armory/build_detect_platform-01.patch
blob: ca3a5cc8d35c4c2726dbffb8b4a687ecdf0f0424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"