File ipsec-tools-0.7.3-linkerflag.patch of Package ipsec-tools.2290
--- configure.ac 2011-05-04 13:22:09.841920703 +0200
+++ configure.ac 2011-05-04 13:27:18.964920650 +0200
@@ -315,7 +315,7 @@
AC_MSG_ERROR([ICONV libs or includes not found. Aborting.])
fi
fi
- LIBS="$LIBS -L$libiconv_dir/lib -R$libiconv_dir/lib -liconv"
+ LIBS="$LIBS -L$libiconv_dir/lib -liconv"
AC_CHECK_FUNCS(iconv_open)
fi
@@ -379,7 +379,7 @@
fi
fi
AC_DEFINE([HAVE_LIBRADIUS], [], [Hybrid authentication uses RADIUS])
- LIBS="$LIBS -L$libradius_dir/lib -R$libradius_dir/lib -lradius"
+ LIBS="$LIBS -L$libradius_dir/lib -lradius"
AC_CHECK_FUNCS(rad_create_request)
fi
@@ -405,7 +405,7 @@
fi
fi
AC_DEFINE([HAVE_LIBPAM], [], [Hybrid authentication uses PAM])
- LIBS="$LIBS -L$libpam_dir/lib -R$libpam_dir/lib -lpam"
+ LIBS="$LIBS -L$libpam_dir/lib -lpam"
AC_CHECK_FUNCS(pam_start)
fi
@@ -431,7 +431,7 @@
fi
fi
AC_DEFINE([HAVE_LIBLDAP], [], [Hybrid authentication uses LDAP])
- LIBS="$LIBS -L$libldap_dir/lib -R$libldap_dir/lib -lldap"
+ LIBS="$LIBS -L$libldap_dir/lib -lldap"
saved_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wall -Werror"