projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4f1049
)
nulldrv: Link with -Bsymbolic so vkGetDeviceProcAddress behaves
author
Adam Jackson
<ajax@redhat.com>
Wed, 24 Jun 2015 17:39:49 +0000
(13:39 -0400)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Fri, 17 Jul 2015 16:05:24 +0000
(10:05 -0600)
icd/nulldrv/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/icd/nulldrv/CMakeLists.txt
b/icd/nulldrv/CMakeLists.txt
index 6640bee416a1d9452f4807450171ed6813fbc7b2..2cb69f90d450b923773f6fdc1660efa655c058b1 100644
(file)
--- a/
icd/nulldrv/CMakeLists.txt
+++ b/
icd/nulldrv/CMakeLists.txt
@@
-29,5
+29,7
@@
if (WIN32)
# Add in the DLL "map" file for vkGetProcAddr()
set_target_properties(VK_nulldrv PROPERTIES
LINK_FLAGS "/DEF:${PROJECT_SOURCE_DIR}/icd/nulldrv/VK_nulldrv.def")
+else()
+ set_target_properties(VK_nulldrv PROPERTIES
+ LINK_FLAGS "-Wl,-Bsymbolic")
endif()
-