summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fc5c9b1792..a2f904a745 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