summaryrefslogtreecommitdiff
path: root/lang/icc7
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-04-26 10:27:29 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-04-26 10:27:29 +0000
commitaec1848380618270a05be5b37da86ed4bbedc127 (patch)
tree0a4ccdabd236af91d88eea9b13419ef981bf207d /lang/icc7
parentadd WWW site (diff)
When trying to link dynamic libraries with dependancies, e.g:
icc -shared -o libfoo.so foo.o -lbaz the ld wrapper gets confused and thinks that a static link is intended and the link fails. This patch appears to fix things. Submitted by: dfr
Notes
Notes: svn path=/head/; revision=79672
Diffstat (limited to 'lang/icc7')
-rw-r--r--lang/icc7/Makefile1
-rw-r--r--lang/icc7/files/ld.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile
index e057893c43cf..e2ec6bf95863 100644
--- a/lang/icc7/Makefile
+++ b/lang/icc7/Makefile
@@ -7,6 +7,7 @@
PORTNAME= icc
PORTVERSION= 7.1.011
+PORTREVISION= 1
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_cc_pu_${PORTVERSION}
diff --git a/lang/icc7/files/ld.c b/lang/icc7/files/ld.c
index d65b16dba244..fb34af1edf94 100644
--- a/lang/icc7/files/ld.c
+++ b/lang/icc7/files/ld.c
@@ -205,6 +205,10 @@ main(int argc, char *argv[], char *envp[])
dynamic++;
continue;
}
+ if (ARGCMP("-shared")) {
+ dynamic++;
+ continue;
+ }
/*
* Just link libstlport_icc* once when compiling the stlport