aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-08-30 00:27:24 +0000
committerNIIBE Yutaka <[email protected]>2018-08-30 00:27:24 +0000
commit55603b7a0d2f6b595823214781f91cb4a2bd502e (patch)
tree27fff655321b0278ab4528dc7e531b12b1ace684
parentFix gpg-error.m4 to use pkg-config compatible way. (diff)
downloadlibgpg-error-55603b7a0d2f6b595823214781f91cb4a2bd502e.tar.gz
libgpg-error-55603b7a0d2f6b595823214781f91cb4a2bd502e.zip
Fix the previous commit.
-rw-r--r--src/gpg-error.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
index ab29273..0564219 100644
--- a/src/gpg-error.m4
+++ b/src/gpg-error.m4
@@ -89,7 +89,9 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags`
GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs`
GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --variable=mtcflags 2>/dev/null`
+ GPG_ERROR_MT_CFLAGS="$GPG_ERROR_CFLAGS${GPG_ERROR_CFLAGS:+ }$GPG_ERROR_MT_CFLAGS"
GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --variable=mtlibs 2>/dev/null`
+ GPG_ERROR_MT_LIBS="$GPG_ERROR_LIBS${GPG_ERROR_LIBS:+ }$GPG_ERROR_MT_LIBS"
AC_MSG_RESULT([yes ($gpg_error_config_version)])
ifelse([$2], , :, [$2])
gpg_error_config_host=`$GPG_ERROR_CONFIG $gpg_error_config_args --variable=host 2>/dev/null || echo none`