File: ld-fix.patch

package info (click to toggle)
aolserver4 4.5.1-18.1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 12,008 kB
  • sloc: ansic: 45,126; tcl: 5,533; sh: 1,037; makefile: 380; pascal: 219; php: 13
file content (26 lines) | stat: -rwxr-xr-x 734 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /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"