diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-27 06:11:55 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-06-27 06:11:55 +0000 |
commit | ea7eed529e12dcbed6a6775b818d8b93b9505f18 (patch) | |
tree | 521ba312e1268d1afb249db03c1b97d5a79181a1 /src/util | |
parent | 48e50f64d8c05b2a6dab327156ea86fc92f171cf (diff) | |
download | gnunet-ea7eed529e12dcbed6a6775b818d8b93b9505f18.tar.gz gnunet-ea7eed529e12dcbed6a6775b818d8b93b9505f18.zip |
Make building gnunet-testing lib optional.
This is all because emscripten doesn't have getaddrinfo.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Makefile.am | 6 | ||||
-rw-r--r-- | src/util/test_mq.c | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 7bcac3d29..44e22e390 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -124,6 +124,10 @@ libgnunetutil_la_LDFLAGS = \ | |||
124 | $(GN_LIB_LDFLAGS) \ | 124 | $(GN_LIB_LDFLAGS) \ |
125 | -version-info 11:0:2 | 125 | -version-info 11:0:2 |
126 | 126 | ||
127 | if HAVE_TESTING | ||
128 | GNUNET_ECC = gnunet-ecc | ||
129 | endif | ||
130 | |||
127 | 131 | ||
128 | libexec_PROGRAMS = \ | 132 | libexec_PROGRAMS = \ |
129 | gnunet-service-resolver | 133 | gnunet-service-resolver |
@@ -131,7 +135,7 @@ libexec_PROGRAMS = \ | |||
131 | bin_PROGRAMS = \ | 135 | bin_PROGRAMS = \ |
132 | gnunet-resolver \ | 136 | gnunet-resolver \ |
133 | gnunet-config \ | 137 | gnunet-config \ |
134 | gnunet-ecc \ | 138 | $(GNUNET_ECC) \ |
135 | gnunet-rsa \ | 139 | gnunet-rsa \ |
136 | gnunet-uri | 140 | gnunet-uri |
137 | 141 | ||
diff --git a/src/util/test_mq.c b/src/util/test_mq.c index 1ec4c37f8..f98fcd235 100644 --- a/src/util/test_mq.c +++ b/src/util/test_mq.c | |||
@@ -24,7 +24,6 @@ | |||
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "gnunet_util_lib.h" | 26 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_testing_lib.h" | ||
28 | 27 | ||
29 | 28 | ||
30 | GNUNET_NETWORK_STRUCT_BEGIN | 29 | GNUNET_NETWORK_STRUCT_BEGIN |