summaryrefslogtreecommitdiff
path: root/net-ftp/lftp/files/lftp-4.7.5-libdir-expat.patch
blob: f82afc782565979fcfb2aa5cfd753a5edd8e0c1e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/m4/ax_lib_expat.m4
+++ b/m4/ax_lib_expat.m4
@@ -109,7 +109,7 @@
 
     if test -n "$expat_prefix"; then
         expat_include_dir="$expat_prefix/include"
-        expat_ld_flags="-L$expat_prefix/lib"
+        expat_ld_flags="-L$libdir"
         expat_lib_flags="-lexpat"
         run_expat_test="yes"
     elif test "$expat_requested" = "yes"; then