aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_getopt.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-02 13:26:13 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-02 13:26:13 +0000
commit41356c04c3dcedb29de159a48393523fa07bd5d1 (patch)
tree685d78af9fde0609e782ac41af87a4faf67ed146 /src/fs/fs_getopt.c
parent5875bc4cb9a96cc81aa7e62448db5cd8be7d6489 (diff)
downloadgnunet-41356c04c3dcedb29de159a48393523fa07bd5d1.tar.gz
gnunet-41356c04c3dcedb29de159a48393523fa07bd5d1.zip
-fix ftbfs if extractor.h present but libextractor.so missing
Diffstat (limited to 'src/fs/fs_getopt.c')
-rw-r--r--src/fs/fs_getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_getopt.c b/src/fs/fs_getopt.c
index 46a35e16a..8657c62de 100644
--- a/src/fs/fs_getopt.c
+++ b/src/fs/fs_getopt.c
@@ -127,7 +127,7 @@ GNUNET_FS_getopt_set_metadata (struct GNUNET_GETOPT_CommandLineProcessorContext
127 const char *value) 127 const char *value)
128{ 128{
129 struct GNUNET_CONTAINER_MetaData **mm = scls; 129 struct GNUNET_CONTAINER_MetaData **mm = scls;
130#if HAVE_EXTRACTOR_H 130#if HAVE_EXTRACTOR_H && HAVE_LIBEXTRACTOR
131 enum EXTRACTOR_MetaType type; 131 enum EXTRACTOR_MetaType type;
132 const char *typename; 132 const char *typename;
133 const char *typename_i18n; 133 const char *typename_i18n;
@@ -147,7 +147,7 @@ GNUNET_FS_getopt_set_metadata (struct GNUNET_GETOPT_CommandLineProcessorContext
147 */ 147 */
148 /*tmp = GNUNET_STRINGS_to_utf8 (value, strlen (value), locale_charset ());*/ 148 /*tmp = GNUNET_STRINGS_to_utf8 (value, strlen (value), locale_charset ());*/
149 tmp = GNUNET_strdup (value); 149 tmp = GNUNET_strdup (value);
150#if HAVE_EXTRACTOR_H 150#if HAVE_EXTRACTOR_H && HAVE_LIBEXTRACTOR
151 type = EXTRACTOR_metatype_get_max (); 151 type = EXTRACTOR_metatype_get_max ();
152 while (type > 0) 152 while (type > 0)
153 { 153 {