LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pam_krb5-2.2.0-0.5-configure_ac.dif of Package pam_krb5 (Project openSUSE:Factory)

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -157,14 +157,14 @@ AC_SUBST(KRB5_BINDIR)
 AC_CHECK_LIB(resolv,main)
 KRB5_CFLAGS=`$KRB5_CONFIG --cflags krb5`
 KRB5_LIBS=`$KRB5_CONFIG --libs krb5`
-KRB5_LDFLAGS="`$KRB5_CONFIG --libs | sed s,'-l[[^ 	]]*',,g`"
-LIBS="$LIBS `$KRB5_CONFIG --libs | sed s,'-l[[^ 	]]*',,g`"
+KRB5_LDFLAGS="`$KRB5_CONFIG --libs`"
+LIBS="$LIBS `$KRB5_CONFIG --libs`"
 LDFLAGS="$LDFLAGS $KRB5_LDFLAGS"
 if test x$krb4 != xno ; then
 	KRB4_CFLAGS=`$KRB4_CONFIG --cflags krb4`
 	KRB4_LIBS=`$KRB4_CONFIG --libs krb4`
-	KRB4_LDFLAGS="`$KRB4_CONFIG --libs | sed s,'-l[[^ 	]]*',,g`"
-	LIBS="$LIBS `$KRB4_CONFIG --libs | sed s,'-l[[^ 	]]*',,g`"
+	KRB4_LDFLAGS="`$KRB4_CONFIG --libs`"
+	LIBS="$LIBS `$KRB4_CONFIG --libs`"
 	LDFLAGS="$LDFLAGS $KRB4_LDFLAGS"
 fi