From: Ruben Kerkhof Date: Mon, 28 Oct 2019 12:54:23 +0000 (+0100) Subject: gpu_nvidea plugin: fix build X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=52925562221bb68a406e22f6db52ded421bd8dc1;p=collectd.git gpu_nvidea plugin: fix build Fixes #3320 --- diff --git a/Makefile.am b/Makefile.am index f2732e1a..9e2687a6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1017,7 +1017,7 @@ endif if BUILD_PLUGIN_GPU_NVIDIA pkglib_LTLIBRARIES += gpu_nvidia.la gpu_nvidia_la_SOURCES = src/gpu_nvidia.c -gpu_nvidia_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) $(BUILD_WITH_GPU_CUDA_CPPFLAGS) +gpu_nvidia_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_GPU_CUDA_CPPFLAGS) gpu_nvidia_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_GPU_CUDA_LDFLAGS) gpu_nvidia_la_LIBADD = $(BUILD_WITH_CUDA_LIBS) endif