projects
/
pocl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a954779
)
[PATCH 15/90] Enable test_dlopen only if DLFCN is available
author
Michal Babej
<michal.babej@tuni.fi>
Wed, 8 Sep 2021 15:17:03 +0000
(18:17 +0300)
committer
Andreas Beckmann
<anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000
(23:55 +0000)
Gbp-Pq: Name 0015-Enable-test_dlopen-only-if-DLFCN-is-available.patch
tests/runtime/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tests/runtime/CMakeLists.txt
b/tests/runtime/CMakeLists.txt
index d2b418c27d80aee54fcc30fe645283bccb6eb8fe..cf3c744822fd01e8e2e5a3f25ce0aad1c8fc2a9f 100644
(file)
--- a/
tests/runtime/CMakeLists.txt
+++ b/
tests/runtime/CMakeLists.txt
@@
-24,7
+24,7
@@
#=============================================================================
# do not link test_dlopen with -lOpenCL
-if (UNIX)
+if (UNIX
AND HAVE_DLFCN_H
)
add_executable("test_dlopen" "test_dlopen.c")
if(SANITIZER_OPTIONS)
target_link_libraries("test_dlopen" ${SANITIZER_LIBS})