1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

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
This commit is contained in:
Alexander Leidinger 2003-04-26 10:27:29 +00:00
parent c292023538
commit aec1848380
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79672
4 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= icc
PORTVERSION= 7.1.011
PORTREVISION= 1
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_cc_pu_${PORTVERSION}

View File

@ -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

View File

@ -7,6 +7,7 @@
PORTNAME= icc
PORTVERSION= 7.1.011
PORTREVISION= 1
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_cc_pu_${PORTVERSION}

View File

@ -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