Message ID | 26e6f4846ced636381dbbdd1677266958b8c11b3.1389702652.git.christian.braunersorensen@prevas.dk |
---|---|
State | Accepted |
Delegated to: | Esben Haabendal |
Headers | show |
diff --git a/recipes/libgcrypt/libgcrypt_1.5.3.oe b/recipes/libgcrypt/libgcrypt_1.5.3.oe index abd3eec..982dcf1 100644 --- a/recipes/libgcrypt/libgcrypt_1.5.3.oe +++ b/recipes/libgcrypt/libgcrypt_1.5.3.oe @@ -4,3 +4,11 @@ require libgcrypt.inc LICENSE = "GPLv2+ & LGPLv2.1+" SRC_URI += "file://add-pkgconfig-support.patch" + +do_install[postfuncs] += "do_install_fix_gpg_error" +do_install_fix_gpg_error() { + sed -i -e 's#\(gpg_error_libs=\"\).*\(-lgpg-error\"\)#\1\2#' \ + ${D}${bindir}/libgcrypt-config + sed -i -e 's#\(gpg_error_cflags=\"\).*\(\"\)#\1\2#' \ + ${D}${bindir}/libgcrypt-config +}