android: fix gpgme build

No need to include config_lgpl.h when gpgme is disabled.

Change-Id: I03f8b093a355452df928607e0f52e3793d5ca0d1
This commit is contained in:
Miklos Vajna
2017-12-05 09:24:38 +01:00
parent 7a9fe4d735
commit 2824eb4939

View File

@@ -13,10 +13,11 @@
#ifndef CONFIG_GPGME_H
#define CONFIG_GPGME_H
#include "config_lgpl.h"
// Defined if gpgme support is available
#define GPGME_HAVE_GPGME 0
#if GPGME_HAVE_GPGME
#include "config_lgpl.h"
#endif
// Defined if gpgme supports exporting minimal key.
#define GPGME_CAN_EXPORT_MINIMAL_KEY 0