]> mj.ucw.cz Git - libucw.git/blobdiff - build/Makefile
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / build / Makefile
index 0e06791c0dc75daba5226b9084bd3027cf879112..15bafe723ae0f65f66c1e4c46051f5d3f4cc14be 100644 (file)
@@ -3,3 +3,10 @@
 DIRS+=build
 
 $(o)/build/genhash: $(o)/build/genhash.o
 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=