Commit 598c17cf authored by Ondřej Surý's avatar Ondřej Surý

dnstap module also needs protobuf-c compiler (protoc-c)

parent 0e62dafd
Pipeline #2228 passed with stages
in 1 minute and 29 seconds
......@@ -37,6 +37,7 @@ $(eval $(call find_lib,gnutls))
$(eval $(call find_lib,libedit))
$(eval $(call find_lib,libprotobuf-c,1))
$(eval $(call find_lib,libfstrm,0.2))
$(eval $(call find_bin,protoc-c))
# Lookup SONAME
$(eval $(call find_soname,libknot))
......@@ -74,7 +75,7 @@ endif
# check for fstrm and protobuf for dnstap
ifeq ($(HAS_libfstrm)|$(HAS_libprotobuf-c),yes|yes)
ifeq ($(HAS_libfstrm)|$(HAS_libprotobuf-c)|$(HAS_protoc-c),yes|yes|yes)
......@@ -121,6 +122,7 @@ info:
$(info [$(HAS_libedit)] libedit (client))
$(info [$(HAS_libfstrm)] libfstrm (modules/dnstap))
$(info [$(HAS_libprotobuf-c)] libprotobuf-c (modules/dnstap))
$(info [$(HAS_protoc-c)] proto-c (modules/dnstap))
$(info )
# Verify required dependencies are met, as listed above
dnstap_CFLAGS := -fvisibility=hidden -fPIC
dnstap_SOURCES := modules/dnstap/dnstap.c modules/dnstap/dnstap.pb-c.c
dnstap_SOURCES := modules/dnstap/dnstap.pb-c.c modules/dnstap/dnstap.c
dnstap_DEPEND := $(libkres)
dnstap_LIBS := $(contrib_TARGET) $(libkres_TARGET) $(libkres_LIBS) $(libprotobuf-c_LIBS) $(libfstrm_LIBS)
$(call make_c_module,dnstap)
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