From 7b6cb80fed24d24e5b687f9a05d45629a0e695d9 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 6 Apr 2006 18:02:28 +0200 Subject: [PATCH] Added a work-around for make's desires. --- build/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/Makefile b/build/Makefile index 0e06791c..15bafe72 100644 --- a/build/Makefile +++ b/build/Makefile @@ -3,3 +3,10 @@ DIRS+=build $(o)/build/genhash: $(o)/build/genhash.o + +# This is a hack which compensates make's desires for propagating per-rule settings +# of variables: if some module specifies its own LIBS and it depends on genhash, +# genhash is sometimes built with the module's LIBS (if it isn't already built). +# A proper solution would be using a different rule for linking build/*, but +# as it currently concerns only genhash, it's easier to battle this way. +$(o)/build/genhash: LIBS= -- 2.39.2