nixpkgs/pkgs/servers/mail/postfix/postfix-2.2.9-lib.patch

13 lines
496 B
Diff
Raw Normal View History

diff -ruN postfix-2.2.9/makedefs postfix-2.2.9.new/makedefs
--- postfix-2.2.9/makedefs 2006-01-03 21:50:25.000000000 +0000
+++ postfix-2.2.9.new/makedefs 2006-03-11 01:40:30.000000000 +0000
@@ -247,7 +247,7 @@
SYSLIBS="-ldb"
for name in nsl resolv $GDBM_LIBS
do
- for lib in /usr/lib64 /lib64 /usr/lib /lib
+ for lib in $glibc/usr/lib64 $glibc/lib64 $glibc/usr/lib $glibc/lib
do
test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
SYSLIBS="$SYSLIBS -l$name"