Skip to content

Commit 0377dc6

Browse files
committed
idmapping: Disabling building when subids is not enabled
1 parent 010fc08 commit 0377dc6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/Makefile.am

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ libshadow_la_SOURCES = \
119119
groupio.h \
120120
gshadow.c \
121121
hushed.c \
122-
idmapping.h \
123-
idmapping.c \
124122
isexpired.c \
125123
limits.c \
126124
list.c \
@@ -273,6 +271,10 @@ libshadow_la_SOURCES = \
273271
xgetspnam.c \
274272
yesno.c
275273

274+
if ENABLE_SUBIDS
275+
libshadow_la_SOURCES += idmapping.h idmapping.c
276+
endif
277+
276278
if WITH_TCB
277279
libshadow_la_SOURCES += tcbfuncs.c tcbfuncs.h
278280
endif

0 commit comments

Comments
 (0)