blob: 21d7a3574725613d8acfd5b3c54447f980a0fb3a (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
LIBRARY()
WITHOUT_LICENSE_TEXTS()
VERSION(Service-proxy-version)
LICENSE(YandexOpen)
SUBSCRIBER(
g:contrib
g:cpp-contrib
somov
)
NO_PLATFORM()
ADDINCL(GLOBAL contrib/libs/cxxsupp/system_stl/include)
IF (OS_IOS OR OS_DARWIN)
LDFLAGS(-lc++)
ELSEIF (OS_ANDROID)
IF (STATIC_STL)
LDFLAGS(-l:libc++.a)
ELSE()
LDFLAGS(-lc++)
ENDIF()
ELSE()
CFLAGS(GLOBAL -DLIBCXX_BUILDING_LIBGCC)
LDFLAGS(-lgcc_s)
# libatomic.a is needed in order to make atomic operations work
LDFLAGS(-l:libatomic.a)
IF (STATIC_STL)
LDFLAGS(-l:libstdc++.a)
ELSE()
LDFLAGS(-lstdc++)
ENDIF()
ENDIF()
END()
|