diff options
author | emersion <contact@emersion.fr> | 2018-09-30 15:04:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-30 15:04:13 +0200 |
commit | bebe7dea8cd5ee4e10a368551c595397008e2d51 (patch) | |
tree | 63e09dad69399fe4470830b3103301a97ce0ab7f /sway | |
parent | Merge pull request #2726 from RyanDwyer/overhaul-gaps (diff) | |
parent | Add support for installing binaries with DT_RPATH (diff) | |
download | sway-bebe7dea8cd5ee4e10a368551c595397008e2d51.tar.gz sway-bebe7dea8cd5ee4e10a368551c595397008e2d51.tar.zst sway-bebe7dea8cd5ee4e10a368551c595397008e2d51.zip |
Merge pull request #2734 from ivyl/use_rpath
Add support for installing binaries with DT_RPATH
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 8 | ||||
-rw-r--r-- | sway/meson.build | 1 |
2 files changed, 1 insertions, 8 deletions
diff --git a/sway/main.c b/sway/main.c index 50b05b21..dea4a31c 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -241,14 +241,6 @@ int main(int argc, char **argv) { | |||
241 | " --get-socketpath Gets the IPC socket path and prints it, then exits.\n" | 241 | " --get-socketpath Gets the IPC socket path and prints it, then exits.\n" |
242 | "\n"; | 242 | "\n"; |
243 | 243 | ||
244 | // Security: | ||
245 | unsetenv("LD_PRELOAD"); | ||
246 | #ifdef _LD_LIBRARY_PATH | ||
247 | setenv("LD_LIBRARY_PATH", _LD_LIBRARY_PATH, 1); | ||
248 | #else | ||
249 | unsetenv("LD_LIBRARY_PATH"); | ||
250 | #endif | ||
251 | |||
252 | int c; | 244 | int c; |
253 | while (1) { | 245 | while (1) { |
254 | int option_index = 0; | 246 | int option_index = 0; |
diff --git a/sway/meson.build b/sway/meson.build index b6394ecb..6eb9a9d7 100644 --- a/sway/meson.build +++ b/sway/meson.build | |||
@@ -187,5 +187,6 @@ executable( | |||
187 | include_directories: [sway_inc], | 187 | include_directories: [sway_inc], |
188 | dependencies: sway_deps, | 188 | dependencies: sway_deps, |
189 | link_with: [lib_sway_common], | 189 | link_with: [lib_sway_common], |
190 | install_rpath : rpathdir, | ||
190 | install: true | 191 | install: true |
191 | ) | 192 | ) |