From e23fb6bdf138bd8c14ce1b232890d1175721455c Mon Sep 17 00:00:00 2001 From: MapsWithMe OSM User Date: Mon, 18 Mar 2013 01:51:26 +0100 Subject: [PATCH] [linux] Fixed build error --- 3party/protobuf/protobuf.pro | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/3party/protobuf/protobuf.pro b/3party/protobuf/protobuf.pro index 0bec8e0ea7..8dbd050a92 100644 --- a/3party/protobuf/protobuf.pro +++ b/3party/protobuf/protobuf.pro @@ -66,6 +66,13 @@ SOURCES += \ src/google/protobuf/stubs/strutil.cc \ src/google/protobuf/stubs/substitute.cc \ +} + +linux* { + SOURCES += src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc +} + +# Headers are always included for all configurations HEADERS += \ config.h \ src/google/protobuf/descriptor.h \ @@ -92,8 +99,5 @@ HEADERS += \ src/google/protobuf/stubs/hash.h \ src/google/protobuf/stubs/map-util.h \ src/google/protobuf/stubs/once.h \ - src/google/protobuf/stubs/stl_util-inl.h \ src/google/protobuf/stubs/strutil.h \ src/google/protobuf/stubs/substitute.h \ - -}