From: Xose Vazquez Perez Subject: Re: [PATCH] multipath-tools: replace LDFLAGS with LIBDEPS for groups of libraries in Makefiles Date: Fri, 12 Aug 2016 20:33:09 +0200 Message-ID: References: <1471024973-15047-1-git-send-email-xose.vazquez@gmail.com> <3184b48f-d8eb-e73b-795f-6622b6fbf5fa@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3184b48f-d8eb-e73b-795f-6622b6fbf5fa@sandisk.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Bart Van Assche Cc: device-mapper development List-Id: dm-devel.ids On 08/12/2016 08:10 PM, Bart Van Assche wrote: > It seems like a patch description that motivates why this change is considered useful is missing completely? Anyway, have you considered to use a name that is consistent by what is expected by > automake, namely LDADD (see also https://www.gnu.org/software/automake/manual/html_node/Linking.html#Linking)? I followed just same rule as in the rest of multipath-tools' Makefiles. Where it's called "LIBDEPS": libmpathpersist/Makefile:LIBDEPS += -lpthread -ldevmapper -ldl -L$(multipathdir) -lmultipath \ libmultipath/Makefile: LIBDEPS += -lsystemd libmultipath/Makefile: LIBDEPS += -lsystemd-daemon