summaryrefslogtreecommitdiff
path: root/homebrew/libxmlsec1/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libxmlsec1/patches.sh')
-rwxr-xr-xhomebrew/libxmlsec1/patches.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/homebrew/libxmlsec1/patches.sh b/homebrew/libxmlsec1/patches.sh
new file mode 100755
index 000000000..940c2d1d5
--- /dev/null
+++ b/homebrew/libxmlsec1/patches.sh
@@ -0,0 +1,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