From 23c0f35061e45a80daa93d8833813ac28866e239 Mon Sep 17 00:00:00 2001 From: Prokop Randacek Date: Mon, 6 Mar 2023 12:31:39 +0100 Subject: [PATCH] option to use system inih --- Tupfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tupfile b/Tupfile index cc6ed1ce5..6a7da8d13 100644 --- a/Tupfile +++ b/Tupfile @@ -21,7 +21,11 @@ srcs += src/tup/tup/*.o srcs += src/tup/monitor/*.o srcs += src/tup/flock/*.o srcs += src/tup/server/*.o +ifeq (@(TUP_USE_SYSTEM_INIH),y) +LDFLAGS += -linih +else srcs += src/inih/*.o +endif srcs += src/compat/*.o ifeq (@(TUP_USE_SYSTEM_SQLITE),y) LDFLAGS += -lsqlite3