]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: use procutils.c on Linux only
authorKarel Zak <kzak@redhat.com>
Wed, 17 Feb 2021 11:24:13 +0000 (12:24 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 17 Feb 2021 11:24:13 +0000 (12:24 +0100)
Fixes: https://github.com/karelzak/util-linux/issues/1251
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/Makemodule.am

index 6db9aaf7719c606bdf2a144887ea94b1e4508769..f975e0cd38c2750b6602f70e5dc73e8480278413 100644 (file)
@@ -29,7 +29,6 @@ libcommon_la_SOURCES = \
        lib/mbsedit.c\
        lib/md5.c \
        lib/pager.c \
-       lib/procutils.c \
        lib/pwdutils.c \
        lib/randutils.c \
        lib/strutils.c \
@@ -42,6 +41,7 @@ libcommon_la_SOURCES = \
 if LINUX
 libcommon_la_SOURCES += \
        lib/linux_version.c \
+       lib/procutils.c \
        lib/loopdev.c
 endif