Commit d6ac08c8 authored by Zex's avatar Zex Committed by Robert Edmonds

skip protoc-c tests on cross-compiling

parent 40136558
......@@ -111,6 +111,12 @@ protoc_c_protoc_c_LDADD = \
# protobuf-c tests
#
if CROSS_COMPILING
#
# skip tests on cross-compiling
#
else
LOG_COMPILER = $(VALGRIND)
check_PROGRAMS += \
......@@ -175,6 +181,7 @@ t_version_version_SOURCES = \
t/version/version.c
t_version_version_LDADD = \
protobuf-c/libprotobuf-c.la
endif # CROSS_COMPILING
endif # BUILD_COMPILER
......
......@@ -67,6 +67,7 @@ else
PROTOBUF_VERSION="not required, not building compiler"
fi
AM_CONDITIONAL([BUILD_COMPILER], [test "x$enable_protoc" != "xno"])
AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" != "xno"])
gl_LD_VERSION_SCRIPT
......
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