mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Deal with LD_LIBRARY_PATH
This commit is contained in:
parent
1a143e601b
commit
a4e92ad272
3 changed files with 9 additions and 1 deletions
|
|
@ -220,7 +220,9 @@ int main(int argc, char **argv) {
|
|||
" --get-socketpath Gets the IPC socket path and prints it, then exits.\n"
|
||||
"\n";
|
||||
|
||||
unsetenv("LD_PRELOAD"); // Security
|
||||
// Security:
|
||||
unsetenv("LD_PRELOAD");
|
||||
setenv("LD_LIBRARY_PATH", _LD_LIBRARY_PATH, 1);
|
||||
|
||||
int c;
|
||||
while (1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue