1 --- mailutils-3.13/configure.orig 2021-08-05 12:46:25.000000000 +0000
2 +++ mailutils-3.13/configure 2021-12-07 10:05:05.372344233 +0000
3 @@ -30874,10 +30874,10 @@
5 mu_cv_lib_mysqlclient=no
6 mu_check_lib_save_LIBS=$LIBS
7 - for path in "" /usr/local/lib/mysql /usr/lib/mysql
8 + for path in "" /usr/local/lib/mysql /usr/lib/mysql $MYSQL_LIB
10 if test -n "$path"; then
11 - mu_ldflags="-L$path -lmysqlclient -lm"
12 + mu_ldflags="-L$path -R$path -lmysqlclient -L$PG_LIB -R$PG_LIB -lm"
14 mu_ldflags="-lmysqlclient -lm"