mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-14 06:40:22 +01:00
automake: Don't fail the build if we can't setuid.
The configure default is to setuid root the weston compositor. However, if installing as non-root (say, to your prefix in homedir), the install fails anyway, even if you didn't need setuid to run weston in your configuration.
This commit is contained in:
parent
0e8d48b920
commit
e7ad5cdcd2
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ weston_SOURCES = \
|
|||
|
||||
if ENABLE_SETUID_INSTALL
|
||||
install-exec-hook:
|
||||
chown root $(DESTDIR)$(bindir)/weston
|
||||
chmod u+s $(DESTDIR)$(bindir)/weston
|
||||
-chown root $(DESTDIR)$(bindir)/weston
|
||||
-chmod u+s $(DESTDIR)$(bindir)/weston
|
||||
endif
|
||||
|
||||
if ENABLE_XSERVER_LAUNCHER
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue