1 |
On 2018-01-11 07:28, Corbin Bird wrote: |
2 |
|
3 |
> > export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH |
4 |
|
5 |
This is wrong, because it will put the current directory (as represented |
6 |
by the empty string) into the list even if it wasn't there originally. |
7 |
|
8 |
Try something like this (untested): |
9 |
|
10 |
export LD_LIBRARY_PATH=$VULKAN_SDK/lib${LD_LIBRARY_PATH:+":$LD_LIBRARY_PATH"} |
11 |
|
12 |
see man bash, "Parameter expansion". |
13 |
|
14 |
-- |
15 |
Please don't Cc: me privately on mailing lists and Usenet, |
16 |
if you also post the followup to the list or newsgroup. |
17 |
To reply privately _only_ on Usenet, fetch the TXT record for the domain. |