depot/third_party/nixpkgs/pkgs/development/libraries/xmlsec/lt_dladdsearchdir.patch
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

16 lines
414 B
Diff

diff --git a/src/dl.c b/src/dl.c
index b13f9d46..d761855b 100644
--- a/src/dl.c
+++ b/src/dl.c
@@ -346,6 +346,11 @@ xmlSecCryptoDLInit(void) {
xmlSecIOError("lt_dlinit", NULL, NULL);
return(-1);
}
+ ret = lt_dladdsearchdir("@out@/lib");
+ if(ret != 0) {
+ xmlSecIOError("lt_dladdsearchdir", NULL, NULL);
+ return(-1);
+ }
#endif /* XMLSEC_DL_LIBLTDL */
return(0);