Commit 1d4950a3 authored by Steven Wojcik's avatar Steven Wojcik Committed by Nils Goroll

Fix build order of BUILD_VMOD_$NAME m4 macro

When a VMOD adds a CFLAG with `libvmod_$1_la_CFLAGS` the object name is no
longer `vmod_$name.lo` but `$library-vmod_name.lo` this changes the
build order such that the VCC autogenerated files would not be
guaranteed to compile first causing compilation issues.
parent ce6ea407
......@@ -213,9 +213,9 @@ AC_DEFUN([_VARNISH_VMOD], [
AC_SUBST(m4_toupper(BUILD_VMOD_$1), ["
vmod_$1.lo: vcc_$1_if.c vcc_$1_if.h
\$(libvmod_$1_la_OBJECTS): vcc_$1_if.c vcc_$1_if.h
vmod_$1.lo: \$(nodist_libvmod_$1_la_SOURCES)
\$(libvmod_$1_la_OBJECTS): \$(nodist_libvmod_$1_la_SOURCES)
vcc_$1_if.h vmod_$1.rst vmod_$1.man.rst: vcc_$1_if.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment