diff options
Diffstat (limited to 'login')
-rw-r--r-- | login/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/login/Makefile b/login/Makefile index 0bfe643136..430c6d93d6 100644 --- a/login/Makefile +++ b/login/Makefile @@ -30,9 +30,15 @@ routines := getlogin getlogin_r setlogin getlogin_r_chk \ CFLAGS-grantpt.c = -DLIBEXECDIR='"$(libexecdir)"' -others = utmpdump pt_chown +others = utmpdump + +include ../Makeconfig + +ifeq (yes,$(build-pt-chown)) +others += pt_chown others-pie = pt_chown install-others-programs = $(inst_libexecdir)/pt_chown +endif subdir-dirs = programs vpath %.c programs |