summaryrefslogtreecommitdiff
path: root/homebrew/libxmlsec1/patches.sh
blob: 940c2d1d5bd74dffbb5f17d3b33aa6a8e864b736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo 'Creating brew-patch.diff'
cat << EOF >> brew-patch.diff
diff --git a/src/dl.c b/src/dl.c
index 6e8a56a..0e7f06b 100644
--- a/src/dl.c
+++ b/src/dl.c
@@ -141,6 +141,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {
     }

 #ifdef XMLSEC_DL_LIBLTDL
+    lt_dlsetsearchpath("HOMEBREW_PREFIX/lib");
     lib->handle = lt_dlopenext((char*)lib->filename);
     if(lib->handle == NULL) {
         xmlSecError(XMLSEC_ERRORS_HERE,
EOF