git.samba.org
/
nss_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3291b07
)
cmake: We need to link nss_nwrap against nss_utils
author
Andreas Schneider
<asn@samba.org>
Wed, 25 Jan 2023 11:34:57 +0000
(12:34 +0100)
committer
Andreas Schneider
<asn@samba.org>
Wed, 25 Jan 2023 11:37:09 +0000
(12:37 +0100)
tests/nss_nwrap.c:240: undefined reference to `nwrap_gr_copy_r'
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
tests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tests/CMakeLists.txt
b/tests/CMakeLists.txt
index 425395beeaa127f4778a6292e11e5cbc924a0307..3b94076528d1141abc7016af9e59e4c3bad06412 100644
(file)
--- a/
tests/CMakeLists.txt
+++ b/
tests/CMakeLists.txt
@@
-11,6
+11,7
@@
target_include_directories(nss_nwrap
PRIVATE
${CMAKE_BINARY_DIR}
${CMOCKA_INCLUDE_DIR})
+target_link_libraries(nss_nwrap PRIVATE nss_utils)
set(HOMEDIR ${CMAKE_CURRENT_BINARY_DIR})