Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CMake: Link with -latomic
[src/app-framework-binder.git]
/
src
/
CMakeLists.txt
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index
abfd13e
..
ab77662
100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-1,5
+1,5
@@
###########################################################################
###########################################################################
-# Copyright (C) 2015-20
19
"IoT.bzh"
+# Copyright (C) 2015-20
20
"IoT.bzh"
#
# author: José Bollo <jose.bollo@iot.bzh>
#
#
# author: José Bollo <jose.bollo@iot.bzh>
#
@@
-88,6
+88,7
@@
SET(AFB_LIB_SOURCES
afb-context.c
afb-cred.c
afb-debug.c
afb-context.c
afb-cred.c
afb-debug.c
+ afb-error-text.c
afb-evt.c
afb-export.c
afb-fdev.c
afb-evt.c
afb-export.c
afb-fdev.c
@@
-99,6
+100,8
@@
SET(AFB_LIB_SOURCES
afb-method.c
afb-monitor.c
afb-msg-json.c
afb-method.c
afb-monitor.c
afb-msg-json.c
+ afb-perm.c
+ afb-permission-text.c
afb-proto-ws.c
afb-session.c
afb-socket.c
afb-proto-ws.c
afb-session.c
afb-socket.c
@@
-169,6
+172,7
@@
TARGET_LINK_LIBRARIES(afbwsc
${libsystemd_LDFLAGS}
${json-c_LDFLAGS}
-lpthread
${libsystemd_LDFLAGS}
${json-c_LDFLAGS}
-lpthread
+ -latomic
-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export-afbwsc.map
-Wl,--as-needed
-Wl,--gc-sections
-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export-afbwsc.map
-Wl,--as-needed
-Wl,--gc-sections