summaryrefslogtreecommitdiffstats
path: root/fpm
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-12-12 19:40:39 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2018-12-13 21:14:39 +0100
commitba7d15b185c8fadcd591cd3a0e22c1ac07628865 (patch)
tree38a01a5e7f3956545adf68ef6ae1c533a1d13439 /fpm
parentMerge pull request #3477 from donaldsharp/multipath_respect (diff)
downloadfrr-ba7d15b185c8fadcd591cd3a0e22c1ac07628865.tar.xz
frr-ba7d15b185c8fadcd591cd3a0e22c1ac07628865.zip
build: disable empty libfrrfpm_pb
We were building and installing an _empty_ library (i.e. it literally didn't contain anything.) Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'fpm')
-rw-r--r--fpm/subdir.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpm/subdir.am b/fpm/subdir.am
index 05cec5a52..a0fa3d274 100644
--- a/fpm/subdir.am
+++ b/fpm/subdir.am
@@ -1,6 +1,8 @@
if FPM
+if HAVE_PROTOBUF
lib_LTLIBRARIES += fpm/libfrrfpm_pb.la
endif
+endif
fpm_libfrrfpm_pb_la_LDFLAGS = -version-info 0:0:0
fpm_libfrrfpm_pb_la_CPPFLAGS = $(AM_CPPFLAGS) $(PROTOBUF_C_CFLAGS)
@@ -10,11 +12,9 @@ fpm_libfrrfpm_pb_la_SOURCES = \
fpm/fpm_pb.c \
# end
-if HAVE_PROTOBUF
nodist_fpm_libfrrfpm_pb_la_SOURCES = \
fpm/fpm.pb-c.c \
# end
-endif
CLEANFILES += \
fpm/fpm.pb-c.c \