File: makefile_w_link_systemd

package info (click to toggle)
procps 2%3A4.0.4-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,044 kB
  • sloc: ansic: 30,566; sh: 5,486; exp: 592; makefile: 562; sed: 16
file content (19 lines) | stat: -rw-r--r-- 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Makefile link w to libsystemd
Author: Craig Small <csmall@debian.org>
Forwarded: https://gitlab.com/procps-ng/procps/-/commit/ca004d4657d5e8b468a4552ede429be53193a3a9
Last-Update: 2024-10-15
--- a/Makefile.am
+++ b/Makefile.am
@@ -149,6 +149,12 @@
 
 dist_man_MANS += man/w.1
 src_w_SOURCES = src/w.c local/fileutils.c
+if WITH_SYSTEMD
+src_w_LDADD = $(LDADD) @SYSTEMD_LIBS@
+else
+src_w_LDADD = $(LDADD)
+endif
+
 else
   EXTRA_DIST += man/w.1
 endif