more modern on macOS
authorVolker Birk <vb@pep.foundation>
Fri, 15 Jun 2018 22:35:41 +0200
changeset 275166c8218f81e8
parent 2750 ce57ed3d1f52
child 2753 bbe4cd45a94e
more modern on macOS
default.conf
src/platform_unix.h
     1.1 --- a/default.conf	Fri Jun 15 21:57:25 2018 +0200
     1.2 +++ b/default.conf	Fri Jun 15 22:35:41 2018 +0200
     1.3 @@ -212,7 +212,7 @@
     1.4  ifeq ($(BUILD_FOR),Linux)
     1.5      LIBGPGME=libgpgme.so.11
     1.6  else ifeq ($(BUILD_FOR),Darwin)
     1.7 -    LIBGPGME=libgpgme.dylib
     1.8 +    LIBGPGME=libgpgme.11.dylib
     1.9  endif
    1.10  
    1.11  # libGPGME library search flag
     2.1 --- a/src/platform_unix.h	Fri Jun 15 21:57:25 2018 +0200
     2.2 +++ b/src/platform_unix.h	Fri Jun 15 22:35:41 2018 +0200
     2.3 @@ -46,7 +46,11 @@
     2.4  
     2.5  const char *android_system_db(void);
     2.6  #define SYSTEM_DB android_system_db()
     2.7 +#ifdef __APPLE__
     2.8 +#define LIBGPGME "libgpgme.11.dylib"
     2.9 +#else
    2.10  #define LIBGPGME "libgpgme.so"
    2.11 +#endif
    2.12  
    2.13  #elif __APPLE__
    2.14  #include "TargetConditionals.h"