summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ac
blob: a68556c7dc3a7c7f1e3f549ab0b15a8844e78d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ac,v 1.14 2004/08/16 16:17:39 recht Exp $

--- configure.orig	2004-08-13 12:24:24.000000000 +0200
+++ configure	2004-08-16 11:54:09.000000000 +0200
@@ -13691,6 +13691,10 @@
 	DLLD="${DLLD=/usr/ccs/bin/cc}"
 	DLLDARG="${LDARG}"
       ;;
+      *interix*)
+	DLLD="${DLLD=$CC}"
+	DLLDARG=""
+      ;;
       * )
 	DLLD="${DLLD=$CC}"
 	DLLDARG="${LDARG}"
@@ -13736,7 +13740,7 @@
     esac
   fi
   case "$host_os" in
-    freebsd*|linux*|irix*|osf*|gnu*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+    freebsd*|linux*|irix*|osf*|gnu*|interix*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
     sunos*)       DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
     sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
     netbsd*)      DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;