From: greg@kroah.com Date: Mon, 24 Nov 2003 04:56:52 +0000 (-0800) Subject: [PATCH] only build klibc_fixups.c if we are actually using klibc. X-Git-Tag: 007~8 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6a670d61bce2f9cc6df23af0d594e764fb2e573b [PATCH] only build klibc_fixups.c if we are actually using klibc. --- diff --git a/Makefile b/Makefile index fc5c9b179..a2f904a74 100644 --- a/Makefile +++ b/Makefile @@ -151,10 +151,13 @@ OBJS = udev.o \ udevdb.o \ logging.o \ namedev.o \ - klibc_fixups.o \ $(SYSFS) \ $(TDB) +ifeq ($(strip $(KLIBC)),true) + OBJS += klibc_fixups.o +endif + # header files automatically generated GEN_HEADERS = udev_version.h