gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restar


From: Ladislav Michl
Subject: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd
Date: Sun, 2 Feb 2020 10:44:43 +0100

Besides gpsd is able to cross-compile without sysroot option, it makes
this cross-compile check aligned with the one for sizeof(time_t).
---
 SConstruct | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SConstruct b/SConstruct
index 65e649d32..c49bb8476 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2753,7 +2753,7 @@ udev_install = Utility('udev-install', 'install', [
 
 if env['systemd']:
     env.Requires(udev_install, systemd_install)
-    if not env["sysroot"]:
+    if not env['target']:
         systemctl_daemon_reload = Utility('systemctl-daemon-reload', '',
                                           ['systemctl daemon-reload || true'])
         env.AlwaysBuild(systemctl_daemon_reload)
-- 
2.25.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]