aolserver4 (4.5.1-15.1) ld-fix

Summary

 configure |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## ld-fix.dpatch by Francesco Paolo Lovergine <frankie@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix for standard ld flag

@DPATCH@
diff -urNad aolserver4~/configure aolserver4/configure
--- aolserver4~/configure	2009-02-18 20:24:54.000000000 +0100
+++ aolserver4/configure	2009-02-18 21:33:39.000000000 +0100
@@ -2437,14 +2437,7 @@
 	;;
     *)
 	LDLIB="$TCL_SHLIB_LD"
-	case "$LDLIB" in
-	    *gcc*)
-		LDLIB="$LDLIB -nostartfiles"
-		;;
-	    *shared*)
-		LDLIB="$LDLIB -nostartfiles"
-		;;
-	esac
+ 	LDLIB="$LDLIB -nostartfiles"
 	CCRPATH="\$(CCRFLAG)\$(INSTLIB)"
 	LDRPATH="\$(LDRFLAG)\$(INSTLIB)"
 	if test "$TCL_EXEC_PREFIX" != "$prefix"