diff options
Diffstat (limited to '')
-rw-r--r-- | src/gpgrt-config.in | 2 | ||||
-rw-r--r-- | src/spawn-posix.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gpgrt-config.in b/src/gpgrt-config.in index b5d0253..b4b2ca1 100644 --- a/src/gpgrt-config.in +++ b/src/gpgrt-config.in @@ -467,7 +467,7 @@ determine_gpgrt_libdir () { # Debian style: /usr/lib/<multiarch-name> # Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64 # It is assumed that CC is specified to the one of host on cross build. - if libdir_candidates=$(${CC:-cc} -print-search-dirs | \ + if libdir_candidates=$(${CC:-gcc} -print-search-dirs | \ sed -n -e "/^libraries/{s/libraries: =//;s/:/\\ /g;p;}"); then # From the output of -print-search-dirs, select valid pkgconfig dirs. diff --git a/src/spawn-posix.c b/src/spawn-posix.c index 8b6f8ad..8cdd032 100644 --- a/src/spawn-posix.c +++ b/src/spawn-posix.c @@ -55,6 +55,7 @@ # include <sys/stat.h> #endif +#define _GPGRT_NEED_AFLOCAL 1 #include "gpgrt-int.h" /* Definition for the gpgrt_spawn_actions_t. Note that there is a |