1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00
nixpkgs/pkgs/development/libraries/xmlsec/lt_dladdsearchdir.patch

17 lines
414 B
Diff
Raw Normal View History

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);