summaryrefslogtreecommitdiffstats
path: root/swaylock/meson.build
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-10-06 18:47:34 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-06 18:47:34 +0200
commit176832fe30576ccfbb7dee3d9e600e56abf21da1 (patch)
treea4ccf0cb0afafc0c8db6cbded85a3b156945b12b /swaylock/meson.build
parentUpdate CONTRIBUTING.md (diff)
parentFix swaylock w/shadow on glibc, improve security (diff)
downloadsway-176832fe30576ccfbb7dee3d9e600e56abf21da1.tar.gz
sway-176832fe30576ccfbb7dee3d9e600e56abf21da1.tar.zst
sway-176832fe30576ccfbb7dee3d9e600e56abf21da1.zip
Merge pull request #2776 from swaywm/swaylock-setuid
Fix swaylock w/shadow on glibc, improve security
Diffstat (limited to 'swaylock/meson.build')
-rw-r--r--swaylock/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/swaylock/meson.build b/swaylock/meson.build
index 6605340b..f3321a78 100644
--- a/swaylock/meson.build
+++ b/swaylock/meson.build
@@ -26,6 +26,9 @@ else
26 warning('The swaylock binary must be setuid when compiled without libpam') 26 warning('The swaylock binary must be setuid when compiled without libpam')
27 warning('You must do this manually post-install: chmod a+s /path/to/swaylock') 27 warning('You must do this manually post-install: chmod a+s /path/to/swaylock')
28 sources += ['shadow.c'] 28 sources += ['shadow.c']
29 if crypt.found()
30 dependencies += [crypt]
31 endif
29endif 32endif
30 33
31executable('swaylock', 34executable('swaylock',