summaryrefslogtreecommitdiff
path: root/fpm/subdir.am
diff options
context:
space:
mode:
Diffstat (limited to 'fpm/subdir.am')
-rw-r--r--fpm/subdir.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpm/subdir.am b/fpm/subdir.am
index a0fa3d274f..a645ca2b03 100644
--- a/fpm/subdir.am
+++ b/fpm/subdir.am
@@ -12,9 +12,13 @@ fpm_libfrrfpm_pb_la_SOURCES = \
fpm/fpm_pb.c \
# end
+if FPM
+if HAVE_PROTOBUF
nodist_fpm_libfrrfpm_pb_la_SOURCES = \
fpm/fpm.pb-c.c \
# end
+endif
+endif
CLEANFILES += \
fpm/fpm.pb-c.c \