projects
/
lgogdownloader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022f235
)
Link with libatomic explicitly
author
Stephen Kitt
<skitt@debian.org>
Sun, 21 Jul 2019 15:53:07 +0000
(16:53 +0100)
committer
Peter Michael Green
<plugwash@raspbian.org>
Sun, 21 Jul 2019 15:53:07 +0000
(16:53 +0100)
Some architectures (mipsel...) don't include libatomic by default, and
the build fails there. Since we're linking with --as-needed, we can
safely add -latomic everywhere.
Gbp-Pq: Name add-libatomic.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 54edb7d50128941a5f11b0efaf8de04609dd35c3..9d0812d48287a083de376545a8303af797b1e66b 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-100,6
+100,7
@@
target_link_libraries(${PROJECT_NAME}
PRIVATE ${Rhash_LIBRARIES}
PRIVATE ${CMAKE_THREAD_LIBS_INIT}
PRIVATE ${ZLIB_LIBRARIES}
+ PRIVATE -latomic
)
if(LINK_LIBCRYPTO EQUAL 1)